/*! v:57046 b:default c:advmanager */
(window["pcodeJsonp57046PXDJunVOuw"]=window["pcodeJsonp57046PXDJunVOuw"]||[]).push([[14],Array(30).concat([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HSV_MODEL=t.HSL_MODEL=t.RGBA_MODEL=void 0,function(e){e[e["RED"]=0]="RED",e[e["GREEN"]=1]="GREEN",e[e["BLUE"]=2]="BLUE",e[e["ALPHA"]=3]="ALPHA"}(t.RGBA_MODEL||(t.RGBA_MODEL={})),function(e){e[e["HUE"]=0]="HUE",e[e["SATURATION"]=1]="SATURATION",e[e["LIGHTNESS"]=2]="LIGHTNESS"}(t.HSL_MODEL||(t.HSL_MODEL={})),function(e){e[e["HUE"]=0]="HUE",e[e["SATURATION"]=1]="SATURATION",e[e["VALUE"]=2]="VALUE"}(t.HSV_MODEL||(t.HSV_MODEL={}))},,,,,,,,,,,,function(e,t,n){"use strict";function r(e){var t,n,i="";if(e)if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(n=r(t))&&(i&&(i+=" "),i+=n);else"boolean"==typeof e||e.call||(i&&(i+=" "),i+=e);return i}n.r(t),t["default"]=function(){for(var e,t=0,n="";t<arguments.length;)(e=r(arguments[t++]))&&(n&&(n+=" "),n+=e);return n}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_CLICK_ASSET=t.ClickAsset=void 0,t.ClickAsset={image:"image",age:"age",category:"category",button:"button",date:"date",desc:"desc",domain:"domain",title:"title",warning:"warning",address:"address",logo:"logo",sitelinks:"sitelinks",callouts:"callouts",phone:"phone",favicon:"favicon",price:"price",discount:"discount",reviewCount:"reviewCount",rating:"rating",appName:"appName",appIcon:"appIcon",mobileAppButton:"mobileAppButton",imageGallery:"imageGallery"},t.DEFAULT_CLICK_ASSET="container"},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(312);function i(e){return"function"==typeof e||"Function"===Object(r["a"])(e)}},,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"render",(function(){return D})),n.d(t,"hydrate",(function(){return B})),n.d(t,"createElement",(function(){return v})),n.d(t,"h",(function(){return v})),n.d(t,"Fragment",(function(){return _})),n.d(t,"createRef",(function(){return g})),n.d(t,"isValidElement",(function(){return i})),n.d(t,"Component",(function(){return y})),n.d(t,"cloneElement",(function(){return x})),n.d(t,"createContext",(function(){return j})),n.d(t,"toChildArray",(function(){return I})),n.d(t,"_unmount",(function(){return L})),n.d(t,"options",(function(){return r}));var r,i,o,a,s,c,l,u={},d=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n){var r,i=arguments,o={};for(r in t)"key"!==r&&"ref"!==r&&(o[r]=t[r]);if(arguments.length>3)for(n=[n],r=3;r<arguments.length;r++)n.push(i[r]);if(null!=n&&(o.children=n),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===o[r]&&(o[r]=e.defaultProps[r]);return m(e,o,t&&t.key,t&&t.ref)}function m(e,t,n,i){var o={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0};return r.vnode&&r.vnode(o),o}function g(){return{}}function _(e){return e.children}function y(e,t){this.props=e,this.context=t}function b(e,t){if(null==t)return e.__?b(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?b(e):null}function C(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return C(e)}}function O(e){(!e.__d&&(e.__d=!0)&&1===o.push(e)||s!==r.debounceRendering)&&((s=r.debounceRendering)||a)(E)}function E(){var e,t,n,r,i,a,s;for(o.sort((function(e,t){return t.__v.__b-e.__v.__b}));e=o.pop();)e.__d&&(n=void 0,r=void 0,a=(i=(t=e).__v).__e,(s=t.__P)&&(n=[],r=R(s,i,f({},i),t.__n,void 0!==s.ownerSVGElement,null,n,null==a?b(i):a),P(n,i),r!=a&&C(i)))}function A(e,t,n,r,i,o,a,s,c){var l,p,f,v,m,g,_,y=n&&n.__k||d,C=y.length;if(s==u&&(s=null!=o?o[0]:C?b(n,0):null),l=0,t.__k=I(t.__k,(function(n){if(null!=n){if(n.__=t,n.__b=t.__b+1,null===(f=y[l])||f&&n.key==f.key&&n.type===f.type)y[l]=void 0;else for(p=0;p<C;p++){if((f=y[p])&&n.key==f.key&&n.type===f.type){y[p]=void 0;break}f=null}if(v=R(e,n,f=f||u,r,i,o,a,s,c),(p=n.ref)&&f.ref!=p&&(_||(_=[]),f.ref&&_.push(f.ref,null,n),_.push(p,n.__c||v,n)),null!=v){var d;if(null==g&&(g=v),void 0!==n.__d)d=n.__d,n.__d=void 0;else if(o==f||v!=s||null==v.parentNode){e:if(null==s||s.parentNode!==e)e.appendChild(v),d=null;else{for(m=s,p=0;(m=m.nextSibling)&&p<C;p+=2)if(m==v)break e;e.insertBefore(v,s),d=s}"option"==t.type&&(e.value="")}s=void 0!==d?d:v.nextSibling,"function"==typeof t.type&&(t.__d=s)}else s&&f.__e==s&&s.parentNode!=e&&(s=b(f))}return l++,n})),t.__e=g,null!=o&&"function"!=typeof t.type)for(l=o.length;l--;)null!=o[l]&&h(o[l]);for(l=C;l--;)null!=y[l]&&L(y[l],y[l]);if(_)for(l=0;l<_.length;l++)M(_[l],_[++l],_[++l])}function I(e,t,n){if(null==n&&(n=[]),null==e||"boolean"==typeof e)t&&n.push(t(null));else if(Array.isArray(e))for(var r=0;r<e.length;r++)I(e[r],t,n);else n.push(t?t("string"==typeof e||"number"==typeof e?m(null,e,null,null):null!=e.__e||null!=e.__c?m(e.type,e.props,e.key,null):e):e);return n}function S(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]="number"==typeof n&&!1===p.test(t)?n+"px":null==n?"":n}function T(e,t,n,r,i){var o,a,s,c,l;if(i?"className"===t&&(t="class"):"class"===t&&(t="className"),"key"===t||"children"===t);else if("style"===t)if(o=e.style,"string"==typeof n)o.cssText=n;else{if("string"==typeof r&&(o.cssText="",r=null),r)for(a in r)n&&a in n||S(o,a,"");if(n)for(s in n)r&&n[s]===r[s]||S(o,s,n[s])}else"o"===t[0]&&"n"===t[1]?(c=t!==(t=t.replace(/Capture$/,"")),l=t.toLowerCase(),t=(l in e?l:t).slice(2),n?(r||e.addEventListener(t,w,c),(e.l||(e.l={}))[t]=n):e.removeEventListener(t,w,c)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&!i&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/^xlink:?/,""))?null==n||!1===n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):null==n||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n))}function w(e){this.l[e.type](r.event?r.event(e):e)}function R(e,t,n,i,o,a,s,c,l){var u,d,p,h,v,m,g,b,C,O,E=t.type;if(void 0!==t.constructor)return null;(u=r.__b)&&u(t);try{e:if("function"==typeof E){if(b=t.props,C=(u=E.contextType)&&i[u.__c],O=u?C?C.props.value:u.__:i,n.__c?g=(d=t.__c=n.__c).__=d.__E:("prototype"in E&&E.prototype.render?t.__c=d=new E(b,O):(t.__c=d=new y(b,O),d.constructor=E,d.render=N),C&&C.sub(d),d.props=b,d.state||(d.state={}),d.context=O,d.__n=i,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=E.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,E.getDerivedStateFromProps(b,d.__s))),h=d.props,v=d.state,p)null==E.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==E.getDerivedStateFromProps&&b!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,O),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,O)){for(d.props=b,d.state=d.__s,d.__d=!1,d.__v=t,t.__e=n.__e,t.__k=n.__k,d.__h.length&&s.push(d),u=0;u<t.__k.length;u++)t.__k[u]&&(t.__k[u].__=t);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(b,d.__s,O),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,v,m)}))}d.context=O,d.props=b,d.state=d.__s,(u=r.__r)&&u(t),d.__d=!1,d.__v=t,d.__P=e,u=d.render(d.props,d.state,d.context),t.__k=null!=u&&u.type==_&&null==u.key?u.props.children:Array.isArray(u)?u:[u],null!=d.getChildContext&&(i=f(f({},i),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(m=d.getSnapshotBeforeUpdate(h,v)),A(e,t,n,i,o,a,s,c,l),d.base=t.__e,d.__h.length&&s.push(d),g&&(d.__E=d.__=null),d.__e=!1}else t.__e=k(n.__e,t,n,i,o,a,s,l);(u=r.diffed)&&u(t)}catch(e){r.__e(e,t,n)}return t.__e}function P(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function k(e,t,n,r,i,o,a,s){var c,l,p,f,h,v=n.props,m=t.props;if(i="svg"===t.type||i,null!=o)for(c=0;c<o.length;c++)if(null!=(l=o[c])&&((null===t.type?3===l.nodeType:l.localName===t.type)||e==l)){e=l,o[c]=null;break}if(null==e){if(null===t.type)return document.createTextNode(m);e=i?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,m.is&&{is:m.is}),o=null}if(null===t.type)v!==m&&e.data!=m&&(e.data=m);else if(t!==n){if(null!=o&&(o=d.slice.call(e.childNodes)),p=(v=n.props||u).dangerouslySetInnerHTML,f=m.dangerouslySetInnerHTML,!s){if(v===u)for(v={},h=0;h<e.attributes.length;h++)v[e.attributes[h].name]=e.attributes[h].value;(f||p)&&(f&&p&&f.__html==p.__html||(e.innerHTML=f&&f.__html||""))}(function(e,t,n,r,i){var o;for(o in n)o in t||T(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"value"===o||"checked"===o||n[o]===t[o]||T(e,o,t[o],n[o],r)})(e,m,v,i,s),t.__k=t.props.children,f||A(e,t,n,r,"foreignObject"!==t.type&&i,o,a,u,s),s||("value"in m&&void 0!==m.value&&m.value!==e.value&&(e.value=null==m.value?"":m.value),"checked"in m&&void 0!==m.checked&&m.checked!==e.checked&&(e.checked=m.checked))}return e}function M(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function L(e,t,n){var i,o,a;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||M(i,null,t)),n||"function"==typeof e.type||(n=null!=(o=e.__e)),e.__e=e.__d=void 0,null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&L(i[a],t,n);null!=o&&h(o)}function N(e,t,n){return this.constructor(e,n)}function D(e,t,n){var i,o,a;r.__&&r.__(e,t),o=(i=n===c)?null:n&&n.__k||t.__k,e=v(_,null,[e]),a=[],R(t,(i?t:n||t).__k=e,o||u,u,void 0!==t.ownerSVGElement,n&&!i?[n]:o?null:d.slice.call(t.childNodes),a,n||u,i),P(a,e)}function B(e,t){D(e,t,c)}function x(e,t){return t=f(f({},e.props),t),arguments.length>2&&(t.children=d.slice.call(arguments,2)),m(e.type,t,t.key||e.key,t.ref||e.ref)}function j(e){var t={},n={__c:"__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var r,i=this;return this.getChildContext||(r=[],this.getChildContext=function(){return t[n.__c]=i,t},this.shouldComponentUpdate=function(t){e.value!==t.value&&r.some((function(e){e.context=t.value,O(e)}))},this.sub=function(e){r.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r.splice(r.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Consumer.contextType=n,n}r={__e:function(e,t){for(var n,r;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(e))),null!=n.componentDidCatch&&(r=!0,n.componentDidCatch(e)),r)return O(n.__E=n)}catch(t){e=t}throw e}},i=function(e){return null!=e&&void 0===e.constructor},y.prototype.setState=function(e,t){var n;n=this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(n,this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),O(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),O(this))},y.prototype.render=_,o=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=u,l=0},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e,t,n){e/=255,t/=255,n/=255;var r=Math.max(e,t,n),i=Math.min(e,t,n),o=r-i,a=0;r===i?a=0:e===r?a=(t-n)/o:t===r?a=2+(n-e)/o:n===r&&(a=4+(e-t)/o),(a=Math.min(60*a,360))<0&&(a+=360);var s=(i+r)/2;return[a,100*(r===i?0:s<=.5?o/(r+i):o/(2-r-i)),100*s]}function i(e,t,n){e/=255,t/=255,n/=255;var r=Math.max(e,t,n),i=Math.min(e,t,n),o=r-i,a=0,s=0===r?0:o/r,c=r;if(r!==i){switch(r){case e:a=(t-n)/o+(t<n?6:0);break;case t:a=(n-e)/o+2;break;case n:a=(e-t)/o+4}a/=6}return[a,s,c]}function o(e){return(299*e[0]+587*e[1]+114*e[2])/1e3}function a(e){return n(465).HEX_SYMBOLS.charAt(e/16<<0)+n(465).HEX_SYMBOLS.charAt(e%16)}Object.defineProperty(t,"__esModule",{value:!0}),t.dec2hex=t.rgbToHexString=t.rgbFromHexString=t.isRgbLight=t.getRgbBrightness=t.changeRgbBrightness=t.setRgbBrightness=t.rgbToHsv=t.rgbToUnNormalizedHsv=t.rgbToHsl=void 0,t.rgbToHsl=r,t.rgbToUnNormalizedHsv=i,t.rgbToHsv=function(e,t,n){var r=i(e,t,n),o=r[0],a=r[1],s=r[2];return[Math.max(0,Math.min(360,Math.round(360*o))),Math.max(0,Math.min(100,Math.round(100*a))),Math.max(0,Math.min(100,Math.round(100*s)))]},t.setRgbBrightness=function(e,t){var i=r(e[0],e[1],e[2]),o=i[0],a=i[1];return(0,n(328).hslToRgb)(o,a,t)},t.changeRgbBrightness=function(e,t){var i=r(e[0],e[1],e[2]),o=i[0],a=i[1],s=i[2];return(0,n(328).hslToRgb)(o,a,(0,n(311).clamp)(s+t,0,100))},t.getRgbBrightness=o,t.isRgbLight=function(e,t){return void 0===t&&(t=127),o(e)>t},t.rgbFromHexString=function(e){return[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16)]},t.rgbToHexString=function(e){var t=e[0],n=e[1],r=e[2];return"#".concat(a(t)).concat(a(n)).concat(a(r))},t.dec2hex=a},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getI18nWithKeyset=t.safeDo=void 0;t.safeDo=function(e,t){try{return e()}catch(e){return t}};t.getI18nWithKeyset=function(e,t){return function(r,i,o){var a=n(495).langIndexes[i]||i,s=t?function(e,t,n){var r=e[n];if(!r){var i=Object.keys(e)[0];r=e[i]}return r?r[t]:null}(e,r,a):function(e,t,r){var i=e[t];if(!i)return null;for(var o=[r,n(495).fallbacks[r],n(642).DEFAULT_LANG],a=0,s=o;a<s.length;a++){var c=s[a];if(c){var l=i[c];if(l)return l}}return null}(e,r,a);if(s&&"object"==typeof o)for(var c=0,l=(0,n(32).getObjectKeys)(o);c<l.length;c++){var u=l[c];s=s.replace("{".concat(u,"}"),o[u])}return s||""}}},,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.Color=t.createColor=void 0,t.createColor=function(e){return new i(e)};var i=function(){function e(e){this.rgba=[0,0,0,1],this.set(e)}return e.isColor=function(t){return t instanceof e||Boolean(t&&void 0!==t.rgba)},e.prototype.set=function(t){if(!t)return this;(0,n(5).isString)(t)?t=function(e){var t=(0,n(494).normalizeColorHash)(e);if(!t)return null;return[parseInt(t.substr(1,2),16),parseInt(t.substr(3,2),16),parseInt(t.substr(5,2),16),parseInt(t.substr(7,2),16)/255]}(t):e.isColor(t)&&(t=t.toRgbaArray());var r=t;if(function(e){if(!e||!(0,n(10).isArray)(e))return!1;if(!(0,n(307).isInRange)(e.length,3,4))return!1;for(var t=0;t<e.length;t++)if(!o(t,e[t]))return!1;return!0}(r))for(var i=0;i<r.length;i++)this.setChannel(i,r[i]);return this},e.prototype.setChannel=function(e,t){o(e,t)&&(e===n(30).RGBA_MODEL.ALPHA?this.rgba[e]=Number(t.toPrecision(2)):this.rgba[e]=t>>0)},e.prototype.setAlpha=function(e){return this.setChannel(n(30).RGBA_MODEL.ALPHA,e),this},e.prototype.toString=function(){return 1!==this.rgba[n(30).RGBA_MODEL.ALPHA]?this.toRgbaString():this.toHexString()},e.prototype.toHexString=function(){return"#".concat(this.toHexArray().join(""))},e.prototype.toRgbString=function(){return"rgb(".concat(this.toRgbArray().join(","),")")},e.prototype.toRgbaString=function(){return"rgba(".concat(this.rgba.join(","),")")},e.prototype.toHexArray=function(){var e=this.rgba;return[(0,n(140).dec2hex)(e[n(30).RGBA_MODEL.RED]),(0,n(140).dec2hex)(e[n(30).RGBA_MODEL.GREEN]),(0,n(140).dec2hex)(e[n(30).RGBA_MODEL.BLUE])]},e.prototype.toRgbArray=function(){var e=this.rgba;return[e[n(30).RGBA_MODEL.RED],e[n(30).RGBA_MODEL.GREEN],e[n(30).RGBA_MODEL.BLUE]]},e.prototype.toRgbaArray=function(){return r([],this.rgba,!0)},e.prototype.getLuminosity=function(){for(var e=this.rgba,t=[],n=0;n<3;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},e.prototype.getContrast=function(t){var n=this.getLuminosity(),r=new e(t).getLuminosity();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},e.prototype.getBrightness=function(){return(0,n(140).getRgbBrightness)(this.rgba)},e.prototype.isLight=function(e){return(0,n(140).isRgbLight)(this.rgba,e)},e.prototype.toReadable=function(t){return new e(this.isLight(t)?"#000":"#fff")},e.prototype.mix=function(t,r){void 0===r&&(r=.5),r=1-r;var i=new e(t),o=this.rgba,a=i.toRgbaArray(),s=o[n(30).RGBA_MODEL.ALPHA],c=a[n(30).RGBA_MODEL.ALPHA],l=2*r-1,u=s-c,d=((l*u==-1?l:(l+u)/(1+l*u))+1)/2,p=1-d;return new e([d*o[n(30).RGBA_MODEL.RED]+p*a[n(30).RGBA_MODEL.RED],d*o[n(30).RGBA_MODEL.GREEN]+p*a[n(30).RGBA_MODEL.GREEN],d*o[n(30).RGBA_MODEL.BLUE]+p*a[n(30).RGBA_MODEL.BLUE],s*r+c*(1-r)])},e.prototype.toGreyscale=function(){var t=this.rgba,r=.3*t[n(30).RGBA_MODEL.RED]+.59*t[n(30).RGBA_MODEL.GREEN]+.11*t[n(30).RGBA_MODEL.BLUE];return new e([r,r,r,t[n(30).RGBA_MODEL.ALPHA]])},e.prototype.lighten=function(e){var t=this.getHSL();return t[2]+=100*e,this.clone().setHSL(t)},e.prototype.darken=function(e){var t=this.getHSL();return t[2]-=100*e,this.clone().setHSL(t)},e.prototype.saturate=function(e){var t=this.getHSL();return t[1]+=t[1]*e,this.clone().setHSL(t)},e.prototype.desaturate=function(e){var t=this.getHSL();return t[1]-=t[1]*e,this.clone().setHSL(t)},e.prototype.getHSL=function(){var e=this.rgba,t=e[0],r=e[1],i=e[2];return(0,n(140).rgbToHsl)(t,r,i)},e.prototype.setHSL=function(e){var t=e[0],r=e[1],i=e[2];return this.set((0,n(328).hslToRgb)(t,r,i))},e.prototype.getHSV=function(){var e=this.rgba,t=e[0],r=e[1],i=e[2];return(0,n(140).rgbToHsv)(t,r,i)},e.prototype.setHSV=function(e){var t=e[0],r=e[1],i=e[2];return this.set((0,n(522).hsvToRgb)(t,r,i))},e.prototype.clone=function(){return new e(this.rgba)},e.prototype.getAverage=function(){return(this.rgba[n(30).RGBA_MODEL.RED]+this.rgba[n(30).RGBA_MODEL.GREEN]+this.rgba[n(30).RGBA_MODEL.BLUE])/3},e.prototype.invert=function(){var t=this.rgba;return new e([255-t[0],255-t[1],255-t[2]])},e}();function o(e,t){return e===n(30).RGBA_MODEL.ALPHA?(0,n(307).isInRange)(t,0,1):(0,n(307).isInRange)(t,0,255)}t.Color=i},,,,function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VISIBILITY_CRITERIA=void 0,function(e){e["MRC"]="mrc",e["YA"]="ya"}(t.VISIBILITY_CRITERIA||(t.VISIBILITY_CRITERIA={}))},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scale=void 0,t.scale=function(e,t,n,r){return void 0===r&&(r=!0),r?t=e/n:e=t*n,{width:e,height:t}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t,n){for(var r=[],i=0;i<e.length;i++){var o=e[i];t.call(n,o,i,e)&&r.push(o)}return r}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInRange=void 0,t.isInRange=function(e,t,n){return e>=t&&e<=n}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=void 0,t.clamp=function(e,t,n){return e>n?n:e<t?t:e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r={}.toString,i=/\[object (\w+)\]/,o=function(e){var t=r.call(e);if(!t)return null;var n=t.match(i);if(!n)return null;var o=n[1];return o||null}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t,n){for(var r=0;r<e.length;r++)t.call(n,e[r],r,e)}},,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWarningMinSquareRatio=t.hasSocialAdvertisingFlag=t.hasImportantFlags=t.getBannerFlags=t.ALCOHOL_FLAG=t.DIETARY_SUPPLEMENT_FLAG=t.MEDICINE_FLAG=void 0,t.MEDICINE_FLAG="medicine",t.DIETARY_SUPPLEMENT_FLAG="dietarysuppl",t.ALCOHOL_FLAG="alcohol";var r=[t.MEDICINE_FLAG,t.ALCOHOL_FLAG,t.DIETARY_SUPPLEMENT_FLAG];function i(e){return e?(0,n(12).map)(e.split(","),(function(e){return e.trim()})):[]}t.getBannerFlags=i,t.hasImportantFlags=function(e){return(0,n(10).isArray)(e)||(e=i(e)),(0,n(58).some)(e,(function(e){return(0,n(44).indexOf)(r,e)>-1}))},t.hasSocialAdvertisingFlag=function(e){return(0,n(10).isArray)(e)||(e=i(e)),(0,n(44).indexOf)(e,"social_advertising")>-1},t.getWarningMinSquareRatio=function(e){return(0,n(10).isArray)(e)||(e=i(e)),e.indexOf(t.DIETARY_SUPPLEMENT_FLAG)>-1||e.indexOf(t.ALCOHOL_FLAG)>-1?.1:e.indexOf(t.MEDICINE_FLAG)>-1?.05:0}},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hslToRgb=void 0,t.hslToRgb=function(e,t,n){var r,i;if(e/=360,n/=100,0===(t/=100))return[r=255*n,r,r];for(var o,a=2*n-(i=n<.5?n*(1+t):n+t-n*t),s=[0,0,0],c=0;c<3;c++)(o=e+1/3*-(c-1))<0&&o++,o>1&&o--,r=6*o<1?a+6*(i-a)*o:2*o<1?i:3*o<2?a+(i-a)*(2/3-o)*6:a,s[c]=255*r;return s}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.Destroyable=void 0;var i=function(){function e(){this._isDestroyed=!1,this.destroyHandlers=[]}return Object.defineProperty(e.prototype,"destroyReason",{get:function(){return this._destroyReason},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDestroyed",{get:function(){return this._isDestroyed},enumerable:!1,configurable:!0}),e.addErrorHandler=function(t){e.errorHandlers.push(t)},e.prototype.onDestroy=function(e){this._addDestroyHandler(e)},e.prototype.addDestroyListener=function(e){this._addDestroyHandler(e)},e.prototype.addDestroyHandler=function(e){this._addDestroyHandler(e)},e.prototype.destroy=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];var o=t[0];if(!this._isDestroyed){this._isDestroyed=!0,this._destroyReason=o;try{n(532).callFunctions.apply(void 0,r([this.destroyHandlers],t,!1))}catch(t){(0,n(532).callFunctions)(e.errorHandlers,t)}this.destroyHandlers.length=0}},e.prototype.getIsDestroyed=function(){return this._isDestroyed},e.prototype.ignoreAfterDestroy=function(e){var t=this,r=e;return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];t.isDestroyed&&(r=n(4).noop),r.apply(t,e)}},e.prototype._addDestroyHandler=function(e){this._isDestroyed?e.apply(void 0,[this._destroyReason]):this.destroyHandlers.push(e)},e.errorHandlers=[],e}();t.Destroyable=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNounForm=void 0,t.getNounForm=function(e,t){var n=e%100,r=e%10;return n>10&&n<20?t[2]:r>1&&r<5?t[1]:1===r?t[0]:t[2]}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getDelay=void 0;var i=((r={})[n(237).VISIBILITY_CRITERIA.YA]=2100,r[n(237).VISIBILITY_CRITERIA.MRC]=1e3,r);t.getDelay=function(e){return i[e]}},,,function(e,t,n){"use strict";function r(e){var t=function(){var n;return t=function(){return n},n=e.apply(this,arguments)};return function(){return t.apply(this,arguments)}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getObjectValues=void 0,t.getObjectValues=function(e){var t=Object.values;if("function"==typeof t)return t(e);var r=[];for(var i in e)(0,n(102).hasOwnProperty)(e,i)&&r.push(e[i]);return r}},,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEX_SYMBOLS=void 0,t.HEX_SYMBOLS="0123456789abcdef"},,,function(e,t,n){"use strict";function r(e,t){!function(e){return"function"==typeof e.dispatch}(e)?e(t):e.dispatch(t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t,r,i){(0,n(626).sendPixel)(e,t,r,i)}Object.defineProperty(t,"__esModule",{value:!0}),t.loadImage=t.sendConfirm=void 0,t.sendConfirm=function(e){var t,i,o,a;e.body?(t=e.src,i=e.body,o=e.onLoad,a=e.onError,(0,n(235).request)({url:t,data:i,method:"post",withCredentials:!0,retries:0,headers:{"Content-Type":"application/json"},onError:a,onSuccess:o})):(0,n(535).isYandexAdsLink)(e.src)&&"exp"===(0,n(0).useExperimentFlag)("COUNT_TO_XHR")?function(e,t,r){(0,n(235).request)({url:e,method:"get",withCredentials:!0,retries:0,onError:r,onSuccess:t})}(e.src,e.onLoad,e.onError):r(e.src,e.onLoad,e.onError,e.ctx)},t.loadImage=r},function(e,t,n){"use strict";function r(e){var t=!1,n=!1,r=!1;return!0===e?t=!0:"object"==typeof e&&(t=Boolean(e.capture),n=Boolean(e.passive),r=Boolean(e.once)),{capture:t,passive:n,once:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.addEventListener=t.createFullOptionsObject=void 0,t.createFullOptionsObject=r,t.addEventListener=function(e,t,i,o){var a=r(o),s=n(86).isSupportsCaptureOption?a:a.capture,c=a.once&&!n(86).isSupportsOnceOption?function(e){l(),i.call(this,e)}:i,l=function(){(0,n(46).removeEventListenerFunction)(e,t,c,s)};return(0,n(46).addEventListenerFunction)(e,t,c,s),l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementRectSize=void 0,t.getElementRectSize=function(e){return{width:e.clientWidth,height:e.clientHeight}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setStyle=void 0,t.setStyle=function(e,t){var r=e.style;for(var i in t){if(t.hasOwnProperty(i))r[(0,n(680).normalizeStyleProp)(i)]=t[i]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralStrategy=void 0;var r=n(543),i=n(682),o=n(658),a=n(650),s=n(652),c=n(659),l=n(649),u=n(547),d=function(){function e(){}return e.factory=l.OneOfStrategy.from(c.MraidStrategy.factory,r.AllOfStrategy.from(o.DocumentStrategy.factory,s.IntersectionStrategy.factory,u.OverlayStrategy.factory),r.AllOfStrategy.from(o.DocumentStrategy.factory,i.DisplayStrategy.factory),a.DummyStrategy.factory),e}();t.GeneralStrategy=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFittingBetter=t.applyImage=void 0;function r(e,t,r){void 0===r&&(r=1);var i,o=t.isCover,a="auto"===t.width,s="auto"===t.height,c=t.width*r,l=t.height*r,u=e[0],d=e[1],p=e[2],f=e[3],h=Number((d/p).toFixed(2));if(a&&s)i=(0,n(256).scale)(d,p,h,!0);else if(s&&!a)i=(0,n(256).scale)(c,l,h,!0);else if(a&&!s)i=(0,n(256).scale)(c,l,h,!1);else{var v=o===h<=c/l;i=(0,n(256).scale)(c,l,h,v)}var m=i.width,g=i.height;return{src:u,originWidth:d,originHeight:p,ratio:h,containerWidth:c,containerHeight:l,width:m,height:g,area:Math.min(m,d)*Math.min(g,p),originArea:d*p,options:f}}function i(e,t){return e.area>t.area||e.area===t.area&&e.originArea<t.originArea}t.applyImage=function(e,t){var o=t.bandwidth||(0,n(189).getDownlink)(),a=t.pixelRatio||(0,n(188).getPixelRatio)(window),s=-1!==o&&o<.4?.66:1;a>1&&(s*=a);for(var c=null,l=null,u=0,d=e;u<d.length;u++){var p=d[u],f=p[0],h=p[1],v=p[2];if(h&&v&&f){var m=r(p,t,s);(null===c||i(m,c))&&(c=m,l=p)}}return l&&r(l,t)},t.isFittingBetter=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBestSmartCenter=t.getSmartCenterBgStyle=t.getSmartCenter=t.getCenterPosition=t.calcBackgroundPosition=void 0;function r(e,n,r){if(!r)return{x:.5,y:.5};var i=Number(r.x)+Number(r.w)/2,o=Number(r.y)+Number(r.h)/2,a={x:i/Number(e.w),y:o/Number(e.h)},s=Number(n.w)/Number(n.h),c=Number(e.w)/Number(e.h);return(0,t.calcBackgroundPosition)(a,s,c)}function i(e,t){if(e&&0!==e.length){var n=e.map((function(e){return function(e,t){var n=Number(e.w)/Number(e.h),r=n<=t.w/t.h,i=r?t.w:t.h*n,o=r?t.w/n:t.h;return{area:Math.min(i,Number(e.w))*Math.min(o,Number(e.h)),originArea:Number(e.w)*Number(e.h),smartCenter:e}}(e,t)}));return n.reduce((function(e,t){return r=t,(n=e).area>r.area||n.area===r.area&&n.originArea<r.originArea?n:r;var n,r}),n[0]).smartCenter}}function o(e,t){return Math.max(Number(e.w)-t.width,0)+Math.max(Number(e.h)-t.height,0)}function a(e,t){return-Math.min(t.width-Number(e.w),0)-Math.min(t.height-Number(e.h),0)}t.calcBackgroundPosition=function(e,t,r){var i=e.x,o=e.y,a=function(e,t){return(0,n(483).getLimitedLinearFunction)(.5,0,t-.5,1)(e*t)};return t>r?o=a(o,t/r):t<r&&(i=a(i,r/t)),{x:i,y:o}},t.getCenterPosition=r,t.getSmartCenter=i,t.getSmartCenterBgStyle=function(e,t){var n=r({w:e.w,h:e.h},t,i(e.smartCenters,t));return"".concat(100*n.x,"% ").concat(100*n.y,"%")},t.getBestSmartCenter=function(e){if(e.options){if(e.options["smart-centers"]&&e.options["smart-centers"].length>0){var t=e.options["smart-centers"],r={width:e.containerWidth,height:e.containerHeight};return(0,n(55).reduce)(t,(function(e,t){return function(e,t,n){var r=o(e,n),i=o(t,n);if(r!==i)return r>i?t:e;var s=a(e,n),c=a(t,n);return s>c?t:e}(e,t,r)}),t[0])}if(e.options["smart-center"])return e.options["smart-center"]}return null}},,,,,function(e,t,n){"use strict";function r(e){if(!e||!e.toString)return!1;var t=e.toString();return/\[native code\]/.test(t)||/\/\* source code not available \*\//.test(t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(312),i=n(480);var o=function(e,t){var n=e[t];if(!Object(i["a"])(n)){var r=n;try{delete e[t];var o=e[t];"function"==typeof o&&(n=o),e[t]=r}catch(e){}}return n}(Array,"isArray"),a=Boolean(o)?function(e){return o.call(Array,e)}:function(e){return"Array"===Object(r["a"])(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=void 0;t.identity=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e}},function(e,t,n){"use strict";function r(e,t,n,r){var i=(t-r)/(e-n),o=t-i*e;return function(e){return i*e+o}}function i(e,t,n){return Math.max(t,Math.min(e,n))}Object.defineProperty(t,"__esModule",{value:!0}),t.getLimit=t.getLimitedLinearFunction=t.getLinearFunction=void 0,t.getLinearFunction=r,t.getLimitedLinearFunction=function(e,t,n,o){var a=r(e,t,n,o);return function(e){return i(a(e),t,o)}},t.getLimit=i},function(e,t,n){"use strict";function r(e,t,n){var r=i(e,n),a=i(t,n);return r!==a?r>a?t:e:o(e)>o(t)?e:t}function i(e,t){var n=t.width/t.height,r=Number(e.w)/Number(e.h),i=Math.min(1,r>n?t.width/Number(e.w):t.height/Number(e.h));return Math.abs(t.width-Number(e.w)*i)+Math.abs(t.height-Number(e.h)*i)}function o(e){return Number(e.w)*Number(e.h)}Object.defineProperty(t,"__esModule",{value:!0}),t.getBetterSmartCenter=t.getBestSmartCenter=void 0,t.getBestSmartCenter=function(e){var t=e.containerWidth,i=e.containerHeight,o=e.options,a=void 0===o?{}:o;if(a["smart-centers"]&&a["smart-centers"].length>0){var s=a["smart-centers"],c={width:t,height:i};return(0,n(55).reduce)(s,(function(e,t){return r(e,t,c)}),s[0])}return a["smart-center"]||null},t.getBetterSmartCenter=r},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.i18nBanners=void 0;var r=(0,n(166).safeDo)((function(){return n(685)}),null),i=(0,n(166).safeDo)((function(){return n(941)}),null)||(0,n(166).safeDo)((function(){return n(942)}),null)||(0,n(166).safeDo)((function(){return n(943)}),null)||(0,n(166).safeDo)((function(){return n(944)}),null)||(0,n(166).safeDo)((function(){return n(945)}),null)||(0,n(166).safeDo)((function(){return n(946)}),null)||(0,n(166).safeDo)((function(){return n(947)}),null)||(0,n(166).safeDo)((function(){return n(948)}),null)||(0,n(166).safeDo)((function(){return n(949)}),null)||(0,n(166).safeDo)((function(){return n(950)}),null)||(0,n(166).safeDo)((function(){return n(951)}),null);t.i18nBanners=r?(0,n(166).getI18nWithKeyset)(r,!1):(0,n(166).getI18nWithKeyset)(i,!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPositiveFiniteNumber=void 0,t.isPositiveFiniteNumber=function(e){return"number"==typeof e&&isFinite(e)&&e>0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeColorHash=void 0;var r=/^#?/,i=/^#[0-9A-F]{8}$/,o=/^#[0-9A-F]{6}$/,a=/^#([0-9A-F])([0-9A-F])([0-9A-F])$/,s=/^#([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])$/;t.normalizeColorHash=function(e){return e=(e+"").toUpperCase().replace(r,"#"),i.test(e)?e:o.test(e)?e+"FF":a.test(e)?e.replace(a,"#$1$1$2$2$3$3FF"):s.test(e)?e.replace(s,"#$1$1$2$2$3$3$4$4"):null}},function(e,t,n){"use strict";e.exports={langs:["cs","de","en","es","pl","pt","ru","tr","be","kk","uk"],langIndexes:{1:"ru",2:"uk",3:"en",4:"be",5:"kk",6:"tr",15:"pt",18:"de",19:"es",20:"cs",21:"pl"},fallbacks:{tr:"en",de:"en",pt:"en",es:"en",cs:"en",pl:"en"}}},function(e,t){e.exports=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){return e.__proto__=t,e}:function(e,t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n]);return e})},function(e,t,n){"use strict";function r(e,t,n){return Math.max(Math.min(t,n)-Math.max(e,0),0)}Object.defineProperty(t,"__esModule",{value:!0}),t.getRatioInViewport=void 0,t.getRatioInViewport=function(e){var t=(0,n(34).getBoundingClientRect)(e),i=t.width,o=t.height,a=0;if(i>0&&o>0){var s=(0,n(60).getWindowSize)();a=r(t.left,t.right,s.width)*r(t.top,t.bottom,s.height)/(i*o)}return a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setAttributes=void 0,t.setAttributes=function(e,t){e&&(0,n(32).getObjectKeys)(t).forEach((function(n){var r=t[n];null===r?e.removeAttribute(n):e.setAttribute(n,r)}))}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YA_CLAMP_HIDDEN=t.YA_CLAMP_DATA_WARNING=t.YA_CLAMP_DATA_AGE=t.YA_CLAMP_DATA_CATEGORY=t.YA_CLAMP_DATA_DOMAIN=t.YA_CLAMP_DATA_TITLE=t.YA_CLAMP_CONTENT=t.YA_CLAMP_CLASSNAME=void 0,t.YA_CLAMP_CLASSNAME="ya-clamp",t.YA_CLAMP_CONTENT="yrw-content",t.YA_CLAMP_DATA_TITLE="data-title",t.YA_CLAMP_DATA_DOMAIN="data-domain",t.YA_CLAMP_DATA_CATEGORY="data-category",t.YA_CLAMP_DATA_AGE="data-age",t.YA_CLAMP_DATA_WARNING="data-warning",t.YA_CLAMP_HIDDEN="yrw-clamp-hidden"},,,,,,,,,,,,,,function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){return void 0===t&&(t=255),!!e&&new(n(182).Color)(e).toRgbArray().every((function(e){return e>=t}))}function o(e){var t,r=Boolean(null===(t=e.options)||void 0===t?void 0:t["smart-center"]),o=function(e,t){void 0===t&&(t=255);var n=(e.options||{}).backgroundColors,r=void 0===n?{}:n;return e.containerWidth/e.containerHeight>e.width/e.height?i(r.left,t)&&i(r.right,t):i(r.top,t)&&i(r.bottom,t)}(e,224)||function(e){var t=(e.options||{}).backgroundColors,n=void 0===t?{}:t;return e.containerWidth/e.containerHeight>e.width/e.height?Boolean(n.left)&&Boolean(n.right)&&n.left===n.right:Boolean(n.top)&&Boolean(n.bottom)&&n.top===n.bottom}(e)&&"exp"===(0,n(0).useExperimentFlag)("CONTAIN_SOLID_IMAGES");return r&&o}function a(e,t,i,a){var c=s(e,t,i,a);if(c){var l=o(c)?c.options["smart-center"]:(0,n(484).getBestSmartCenter)(c),u=(0,n(475).getCenterPosition)({w:c.originWidth,h:c.originHeight},{w:t.width,h:t.height},l||void 0),d=c.options&&c.options.ColorWizBack,p=c.options&&c.options.ColorWizButton,f=c.options&&c.options.ColorWizButtonText,h=new(n(182).Color)(d).getBrightness(),v=h>192?"light":"dark",m=new(n(182).Color);return m.setChannel(0,h),m.setChannel(1,h),m.setChannel(2,h),r(r({},c),{bgColor:d,bgMode:v,colorByBrightness:m.toHexString(),smartCenter:l,bgPosition:u,buttonBgColor:p,buttonTextColor:f,pixelRatio:i})}}function s(e,t,i,o){return(0,n(474).applyImage)(e,r(r({isCover:!0},t),{pixelRatio:i,bandwidth:o}))}Object.defineProperty(t,"__esModule",{value:!0}),t.selectImageForPossibleRatios=t.selectImageForContainerSize=t.selectImage=t.shouldContainImage=void 0,t.shouldContainImage=o,t.selectImage=a,t.selectImageForContainerSize=s,t.selectImageForPossibleRatios=function(e,t,n,r,i){for(var o,s=1/0,c=0,l=n;c<l.length;c++){var u=l[c],d=a(e,{width:t,height:t/u.value},r,i);if(d){var p=Math.abs(u.value-d.ratio);p<s&&(o={image:d,imageRatio:u},s=p)}}return o}},function(e,t,n){"use strict";n.r(t),n.d(t,"Signal",(function(){return s}));var r=n(258),i=n(313),o=n(468);function a(e,t){Object(i["a"])(e,(function(e){Object(o["a"])(e,t)}))}var s=function(){function e(){Object.defineProperty(this,"on",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"once",{enumerable:!0,configurable:!0,writable:!0,value:[]})}var t=e.prototype;return t.add=function(){for(var e,t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=this.on).push.apply(e,r),function(){t.remove.apply(t,r)}},t.addOne=function(){for(var e,t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=this.once).push.apply(e,r),function(){t.remove.apply(t,r)}},t.promise=function(){var e=this;return new Promise((function(t){e.addOne(t)}))},t.dispatch=function(e){var t=this.once;this.once=[],a(this.on,e),a(t,e)},t.removeAll=function(){this.on.length=0,this.once.length=0},t.remove=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.on=Object(r["a"])(this.on,(function(e){return t.indexOf(e)<0})),this.once=Object(r["a"])(this.once,(function(e){return t.indexOf(e)<0}))},e}()},,,function(e,t,n){"use strict";function r(e,t,n){var r=0,i=0,o=0,a=Math.floor(6*e),s=6*e-a,c=n*(1-t),l=n*(1-s*t),u=n*(1-(1-s)*t);switch(a%6){case 0:r=n,i=u,o=c;break;case 1:r=l,i=n,o=c;break;case 2:r=c,i=n,o=u;break;case 3:r=c,i=l,o=n;break;case 4:r=u,i=c,o=n;break;case 5:r=n,i=c,o=l}return[255*r,255*i,255*o]}Object.defineProperty(t,"__esModule",{value:!0}),t.hsvToRgb=t.unNormalizedHsvToRgb=void 0,t.unNormalizedHsvToRgb=r,t.hsvToRgb=function(e,t,n){var i=r(Math.max(0,Math.min(e,360))/360,Math.max(0,Math.min(t,100))/100,Math.max(0,Math.min(n,100))/100),o=i[0],a=i[1],s=i[2];return[Math.max(0,Math.min(Math.round(o),255)),Math.max(0,Math.min(Math.round(a),255)),Math.max(0,Math.min(Math.round(s),255))]}},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdvManager=void 0,document.createElement("YATAG"),(0,n(347).lazyInit)((function(){(0,n(1573).initErrorLogger)()})),t.AdvManager=n(1574)},,function(e,t,n){"use strict";var r=/yatag/gi,i=/(?:"|\s)+(?:id|class)=["'](.*?)["']/g,o=/<\/?[a-z][\s\S]*>/i,a=/[#.][a-z\d\-_/=]+[^:,.\s{]/gi;function s(e,t){for(var n=5381,r=e.length+t.length,i=""+t+e;r;)n=33*n^i.charCodeAt(--r);return n>>>=0,""+String.fromCharCode(n%25+97)+n.toString(16)}var c={};function l(e,t){return e?s(e,t):""}function u(e){return e.replace(r,"div")}function d(e,t){var n=e+"--"+(t=t||"s9eHqySU2Z");return c.hasOwnProperty(n)?c[n]:c[n]=l(e,t)}e.exports={calculatePathHash:function(e){return s(e,"")},encodeTemplate:function(e){return o.test(e)?u(e=e.replace(i,(function(e,t){for(var n=t.split(" "),r=0;r<n.length;r++)e=e.replace(new RegExp(n[r]+"(?![-\\w])","g"),d(n[r]));return e}))):e},encodeStyle:function(e,t,n){return void 0===t&&(t=!0),void 0===n&&(n=!1),n?(e=e.replace(/(?:^|})(.*?){/g,(function(e){return e.replace(a,(function(e){return""+e[0]+d(e.slice(1))}))})),t&&(e=u(e)),e):e},replaceYatag:u,getAlias:d,generateAlias:l,encodeSelectors:function(e){return e.replace(a,(function(e){return/__([0-9]+?)__/g.test(e)?e:""+e[0]+d(e.slice(1))}))},getClassName:function(e,t){return e+"---"+t},clearStorage:function(){c={}}}},function(e,t,n){"use strict";n.r(t),n.d(t,"useState",(function(){return f})),n.d(t,"useReducer",(function(){return h})),n.d(t,"useEffect",(function(){return v})),n.d(t,"useLayoutEffect",(function(){return m})),n.d(t,"useRef",(function(){return g})),n.d(t,"useImperativeHandle",(function(){return _})),n.d(t,"useMemo",(function(){return y})),n.d(t,"useCallback",(function(){return b})),n.d(t,"useContext",(function(){return C})),n.d(t,"useDebugValue",(function(){return O})),n.d(t,"useErrorBoundary",(function(){return E}));var r,i,o,a=n(108),s=[],c=a["options"].__r,l=a["options"].diffed,u=a["options"].__c,d=a["options"].unmount;function p(e){a["options"].__h&&a["options"].__h(i);var t=i.__H||(i.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function f(e){return h(w,e)}function h(e,t,n){var o=p(r++);return o.__c||(o.__c=i,o.__=[n?n(t):w(void 0,t),function(t){var n=e(o.__[0],t);o.__[0]!==n&&(o.__[0]=n,o.__c.setState({}))}]),o.__}function v(e,t){var n=p(r++);T(n.__H,t)&&(n.__=e,n.__H=t,i.__H.__h.push(n))}function m(e,t){var n=p(r++);T(n.__H,t)&&(n.__=e,n.__H=t,i.__h.push(n))}function g(e){return y((function(){return{current:e}}),[])}function _(e,t,n){m((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))}function y(e,t){var n=p(r++);return T(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function b(e,t){return y((function(){return e}),t)}function C(e){var t=i.context[e.__c];if(!t)return e.__;var n=p(r++);return null==n.__&&(n.__=!0,t.sub(i)),t.props.value}function O(e,t){a["options"].useDebugValue&&a["options"].useDebugValue(t?t(e):e)}function E(e){var t=p(r++),n=f();return t.__=e,i.componentDidCatch||(i.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function A(){s.some((function(e){if(e.__P)try{e.__H.__h.forEach(I),e.__H.__h.forEach(S),e.__H.__h=[]}catch(t){return a["options"].__e(t,e.__v),!0}})),s=[]}function I(e){e.t&&e.t()}function S(e){var t=e.__();"function"==typeof t&&(e.t=t)}function T(e,t){return!e||t.some((function(t,n){return t!==e[n]}))}function w(e,t){return"function"==typeof t?t(e):t}a["options"].__r=function(e){c&&c(e),r=0,(i=e.__c).__H&&(i.__H.__h.forEach(I),i.__H.__h.forEach(S),i.__H.__h=[])},a["options"].diffed=function(e){l&&l(e);var t=e.__c;if(t){var n=t.__H;n&&n.__h.length&&(1!==s.push(t)&&o===a["options"].requestAnimationFrame||((o=a["options"].requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);"undefined"!=typeof window&&(t=requestAnimationFrame(n))})(A))}},a["options"].__c=function(e,t){t.some((function(e){try{e.__h.forEach(I),e.__h=e.__h.filter((function(e){return!e.__||S(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],a["options"].__e(n,e.__v)}})),u&&u(e,t)},a["options"].unmount=function(e){d&&d(e);var t=e.__c;if(t){var n=t.__H;if(n)try{n.__.forEach((function(e){return e.t&&e.t()}))}catch(e){a["options"].__e(e,t.__v)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasShadowDomSupport=void 0,t.hasShadowDomSupport=function(){try{return Boolean(document.head.attachShadow)}catch(e){return!1}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callFunctions=void 0,t.callFunctions=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];(0,n(10).isArray)(e)&&e.forEach((function(e){"function"==typeof e&&e.apply(void 0,t)}))}},function(e,t,n){"use strict";var r=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.rafDebounce=t.rafDebounceFactory=void 0;t.rafDebounceFactory=function(e,t){return function(n){var i,o,a=function(){e(o),o=NaN},s=function(){for(var e=this,s=[],c=0;c<arguments.length;c++)s[c]=arguments[c];return a(),o=t((function(t){o=NaN,i=n.call.apply(n,r([e,t],s,!1))})),i};return s.cancel=a,s}},t.rafDebounce=(0,t.rafDebounceFactory)(n(113).cancelAnimationFrame,n(113).requestAnimationFrame)},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.SizeSensor=void 0;var a=function(e){function t(t,r){var i=(void 0===r?{}:r).lazy,o=void 0!==i&&i,a=e.call(this)||this;a.resizeObserverCallback=function(e){var t=e[0].contentRect,n=t.width,r=t.height;a.onResize.dispatch({width:n,height:r})};var s=o?{width:NaN,height:NaN}:(0,n(34).getBoundingClientRect)(t);if(a.onResize=new(n(634).ValueSignal)({width:s.width,height:s.height},(function(e,t){var n=t.width,r=t.height;return e.width===n&&e.height===r})),o){var c=(0,n(113).requestAnimationFrame)((function(){var e=(0,n(34).getBoundingClientRect)(t),r=e.width,i=e.height;a.onResize.dispatch({width:r,height:i})}));a.addDestroyHandler((function(){(0,n(113).cancelAnimationFrame)(c)}))}if(a.addDestroyHandler((function(){a.onResize.removeAll()})),"undefined"!=typeof ResizeObserver&&(0,n(16).checkNativeCode)(ResizeObserver))try{var l=new ResizeObserver(a.resizeObserverCallback);l.observe(t),a.addDestroyHandler((function(){l.disconnect()}))}catch(e){a.fallbackToCustomDetectionMethods(t)}else a.fallbackToCustomDetectionMethods(t);return a}return i(t,e),t.prototype.getSize=function(){return o({},this.onResize.getValue())},t.prototype.fallbackToCustomDetectionMethods=function(e){var t=this,r=e.ownerDocument;if(r){var i=r.defaultView;if(i){var o=function(){var r=(0,n(34).getBoundingClientRect)(e);t.onResize.dispatch({width:r.width,height:r.height})};this.addDestroyHandler((0,n(470).addEventListener)(i,"resize",o,{passive:!0})),this.addDestroyHandler((0,n(635).subscribeSyntheticTimeupdateInterval)(o))}}},t}(n(452).Destroyable);t.SizeSensor=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isYandexAdsLink=void 0;var r=/^(?:(?:https?:)?\/\/)?(?:an\.)?yandex\.[a-z]+\//i;t.isYandexAdsLink=function(e){return r.test(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SOCIAL_AD_URL=void 0,t.SOCIAL_AD_URL="https://yandex.ru/socialads-transparency-report"},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.prettify=void 0;var i,o=new RegExp('(^|\\s)"([.\\-\\s\\da-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]{3,})"',"g"),a=new RegExp('(^|\\(|\\s)([\u0410\u0430]|[\u0411\u0431]\u0435\u0437|[\u0412\u0432](?:|\u044b|\u0430\u0441|\u0430\u043c|\u0441\u0435|\u0441\u0451)|[\u0413\u0433]\u0434\u0435|[\u0414\u0434](?:\u043e|\u043b\u044f)|[\u0417\u0437]\u0430|[\u0418\u0438](?:|\u0437)|[\u041a\u043a](?:|\u043e|\u0430\u043a)|[\u041c\u043c]\u044b|[\u041d\u043d](?:\u0430|\u0430\u043c|\u0430\u0441|\u0435|\u0438|\u043e)|[\u041e\u043e](?:|\u0431|\u0442)|[\u041f\u043f](?:\u043e|\u0440\u043e)|[\u0421\u0441](?:|\u043e)|[\u0422\u0442](?:\u043e|\u0443\u0442|\u044b)|[\u0423\u0443]|[\u0427\u0447]\u0442\u043e|[\u042d\u044d]\u0442\u043e)\\s([\xab"$\\da-zA-Z\u0430-\u044f\u0410-\u042f\u0451\u0401]+)',"g"),s=/"/g,c=/[\u0404\u0406\u0407\u0454\u0456\u0457\u0490\u0491]/,l=/^[\-\s]|[\-\s]$|^[\-\s\d]+$/,u=/([.,!?:;)+]+|[^<]\/|=(?!"))([^ -])(?!$|[.,!?:;)+=\/ ])/g,d=/([0-9]+) (?=[0-9]{3})/g,p=/([0-9\u00A0]+) (\u0440|\u0440\u0443\u0431|\u20bd|\$|\u20ac|\u20b8|\u20b4|\u20ba|Br|\u0442\u044b\u0441|\u043c\u043b\u043d|\u043a\u043c|\u043c|\u0441\u043c|\u043c\u043c)(?=[.,?!:;\s]|$)/g,f=/((?:\u0442\u044b\u0441|\u043c\u043b\u043d)\.?) (\u0440|\u0440\u0443\u0431|\u20bd|\$|\u20ac|\u20b8|\u20b4|\u20ba|Br|\u043a\u043c|\u043c|\u0441\u043c|\u043c\u043c)(?=[.,?!:;\s]|$)/g,h=/ \-(\d\d?)%/g,v=/ !/;function m(e,t,n,r){return(n+r).length+1<=i.maxGluedLength?t+n+"\xa0"+r:e}function g(e,t,n){return e.length<=i.maxGluedLength?t+"\xa0"+n:e}function _(e,t,n){return l.test(n)?e:t+"\xab"+n+"\xbb"}t.prettify=function(e,t){if(i=r({gluePrepositions:!0,maxGluedLength:1/0,softBreakPunct:!1,fixCurrency:!0},t),c.test(e))return e;var l=(e=(0,n(686).htmlToUtf)(e)).match(s),y=e.match(o);return l&&y&&l.length%2==0&&l.length/2===y.length&&(e=e.replace(o,_)),i.gluePrepositions&&(e=e.replace(a,m)),i.softBreakPunct&&(e=e.replace(u,"$1<wbr />$2")),e=e.replace(d,"$1\xa0").replace(p,g).replace(f,g).replace(h," \u2212$1%").replace(v,"\xa0!"),i.fixCurrency&&(e=(0,n(553).fixCurrency)(e)),e}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.VisibilityConfirmer=void 0;var i=function(){function e(e){var t=this;this.onChange=function(e){return t.check(e)};var i={portion:void 0!==e.portion?e.portion:(0,n(557).getPortion)(n(237).VISIBILITY_CRITERIA.YA,e.element),interval:void 0!==e.interval?e.interval:n(541).DEFAULT_INTERVAL,overlappedPoints:void 0!==e.overlappedPoints?e.overlappedPoints:[[0,0]]},o=(e.strategy?e.strategy:n(473).GeneralStrategy.factory)({portion:Math.max(Number.MIN_VALUE,i.portion),interval:i.interval,overlappedPoints:i.overlappedPoints,element:e.element,callback:(0,n(7).protect)("visibilityObserver",this.onChange)});if(!o)throw new Error("VisibilityConfirmer: no strategy");this.strategy=o,this.confirmationEntries=(0,n(12).map)(e.confirmations||[],(function(e){return r(r({confirmOnHover:!0,delay:(0,n(454).getDelay)(n(237).VISIBILITY_CRITERIA.YA)},e),{confirmTimeoutId:null,isConfirmed:!1})})),this.preventStop=e.preventStop,this.onVisibilityChange=e.onVisibilityChange;var a=(0,n(24).on)(e.element,"mouseover",(function(){return t.onHover()}));this.stopMouseoverTracking=function(){return(0,n(24).un)(a)},!1!==e.autostart&&this.start()}return e.factory=function(t,n){return new e({portion:n.factoryOptions.portion,overlappedPoints:n.factoryOptions.overlappedPoints,interval:n.factoryOptions.interval,element:t,strategy:n.factory,preventStop:n.preventStop,onVisibilityChange:n.onVisibilityChange,confirmations:[{delay:n.delay,onConfirm:n.onConfirm,confirmOnHover:!1}]})},e.prototype.start=function(){this.strategy.start()},e.prototype.stop=function(e){void 0===e&&(e=!1),this.cancelConfirmSchedule(),this.preventStop&&!e||(this.strategy.stop(),this.stopMouseoverTracking())},e.prototype.confirm=function(){var e=this;(0,n(2).forEach)(this.confirmationEntries,(function(t){return e.confirmEntry(t,-1)}))},e.prototype.getIsVisible=function(){return this.strategy.getIsVisible()},e.prototype.onHover=function(){var e=this;this.stopMouseoverTracking(),(0,n(2).forEach)(this.confirmationEntries,(function(t){!t.isConfirmed&&t.confirmOnHover&&e.confirmEntry(t,-1)}))},e.prototype.confirmEntry=function(e,t){e.isConfirmed||(e.isConfirmed=!0,null!==e.confirmTimeoutId&&(clearTimeout(e.confirmTimeoutId),e.confirmTimeoutId=null),e.onConfirm(t<0?t:Number(new Date)-t,this.strategy.isDetermined),this.confirmationEntries.splice((0,n(44).indexOf)(this.confirmationEntries,e),1),0===this.confirmationEntries.length&&this.stop())},e.prototype.check=function(e){this.onVisibilityChange&&this.onVisibilityChange(e),e?this.scheduleConfirm():this.cancelConfirmSchedule()},e.prototype.scheduleConfirm=function(){var e=this,t=Date.now();(0,n(2).forEach)(this.confirmationEntries,(function(n){n.delay?null===n.confirmTimeoutId&&(n.confirmTimeoutId=setTimeout((function(){return e.confirmEntry(n,t)}),n.delay)):e.confirmEntry(n,t)}))},e.prototype.cancelConfirmSchedule=function(){(0,n(2).forEach)(this.confirmationEntries,(function(e){null!==e.confirmTimeoutId&&(clearTimeout(e.confirmTimeoutId),e.confirmTimeoutId=null)}))},e}();t.VisibilityConfirmer=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildBannerSizes=t.buildOrderBannerOptions=t.buildBannerTesttags=t.createLinkTailUrl=t.BANNER_TEST_TAG_KEY=void 0,t.BANNER_TEST_TAG_KEY=["ban","ner-te","st-tags"].join(""),t.createLinkTailUrl=function(e,t){var r="";return(0,n(2).forEach)(t,(function(e){r+=e.linkTail})),e+r},t.buildBannerTesttags=function(e,t){void 0===t&&(t={});var r={};return(0,n(2).forEach)(e,(function(e){if(null==e?void 0:e.adId){var i=e.bannerTesttag?e.bannerTesttag.clone():new(n(546).BannerTesttag);i.setProps(t),r[e.adId]=i.toString()}})),(0,n(21).encode)(n.lv["json"].stringify(r))},t.buildOrderBannerOptions=function(e){var t={};if((0,n(2).forEach)(e,(function(e){(null==e?void 0:e.adId)&&(null==e?void 0:e.orderBannerOptions)&&(t[e.adId]=e.orderBannerOptions)})),0!==(0,n(458).getObjectValues)(t).length){var r=(0,n(21).encode)(n.lv["json"].stringify(t));return(0,n(21).cropEquals)(r)}},t.buildBannerSizes=function(e){var t={};return(0,n(2).forEach)(e,(function(e){e&&(t[e.adId]="".concat(e.size.width,"x").concat(e.size.height))})),(0,n(21).encode)(n.lv["json"].stringify(t))}},function(e,t,n){"use strict";n.r(t),n.d(t,"ValueSignal",(function(){return a}));var r=n(519),i=n(468);function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var a=function(e){var t,n;n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r;r=a;function a(t,n){var r;return void 0===n&&(n=function(e,t){return e===t}),r=e.call(this)||this,Object.defineProperty(o(r),"checkToEqualFunction",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(o(r),"value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),r.value=t,r}var s=a.prototype;return s.getValue=function(){return this.value},s.subscribeValueCondition=function(e,t){return this.add((function(n){e(n)&&Object(i["a"])(t,n)}))},s.subscribeValueConditionOnce=function(e,t){var n=this.subscribeValueCondition(e,(function(e){n(),Object(i["a"])(t,e)}));return n},s.dispatch=function(t){this.checkToEqualFunction(this.value,t)||(this.value=t,e.prototype.dispatch.call(this,t))},a}(r["Signal"])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visibilityObserver=t.DEFAULT_INTERVAL=void 0;var r=n(13),i=n(7);t.DEFAULT_INTERVAL=300;t.visibilityObserver=function(e,n){return void 0===n&&(n={}),function(o,a){var s,c={portion:void 0!==n.portion?n.portion:0,interval:void 0!==n.interval?n.interval:t.DEFAULT_INTERVAL,overlappedPoints:void 0!==n.overlappedPoints?n.overlappedPoints:[[0,0]]},l=e({portion:Math.max(Number.MIN_VALUE,c.portion),interval:c.interval,overlappedPoints:c.overlappedPoints,element:o,callback:(0,i.protect)("visibilityObserver",(function(e){s!==e&&(s=e,a(e))}))});if(!l)throw new Error("visibilityObserver: no strategy");return l.start(),(0,r.once)((function(){return l.stop()}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0,t.debounce=function(e,t,n,r){3===arguments.length&&"boolean"!=typeof n&&(r=n,n=!1);var i=null;function o(){null!==i&&clearTimeout(i),i=null}var a=function(){var a=arguments;r=r||this,n&&null===i&&e.apply(r,a),o(),i=window.setTimeout((function(){n||e.apply(r,a),i=null}),t)};return a.cancel=o,a}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AllOfStrategy=void 0;var i=n(12),o=function(){function e(e){var t=this;this.args=e,this.runningCount=0,this.callback=function(e,n){var r=e+1;n?r===t.strategies.length?t.args.callback(n):r===t.runningCount&&t.startNext():(t.stopUntil(r),t.args.callback(n))},this.strategies=(0,i.map)(e.strategyFactories,(function(e,n){return e((function(e){return t.callback(n,e)}))}))}return e.from=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(n){for(var i=[],o=function(e){var t=function(){return null},o=e(r(r({},n),{callback:function(e){return t(e)}}));if(!o)return{value:null};i.push((function(e){return t=e,o}))},a=0,s=t;a<s.length;a++){var c=o(s[a]);if("object"==typeof c)return c.value}return new e({callback:n.callback,strategyFactories:i})}},e.prototype.start=function(){!this.runningCount&&this.strategies.length&&this.startNext()},e.prototype.stop=function(){this.stopUntil(0)},Object.defineProperty(e.prototype,"isDetermined",{get:function(){for(var e=0,t=this.strategies;e<t.length;e++){if(!t[e].isDetermined)return!1}return!0},enumerable:!1,configurable:!0}),e.prototype.getIsVisible=function(){for(var e=0;e<this.strategies.length;e++)if(!this.strategies[e].getIsVisible())return!1;return!0},e.prototype.startNext=function(){this.strategies[this.runningCount++].start()},e.prototype.stopUntil=function(e){for(;this.runningCount>e;)this.strategies[--this.runningCount].stop()},e}();t.AllOfStrategy=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInViewport=void 0,t.isInViewport=function(e,t){return n(552).isOperaMini?e.offsetWidth>0&&e.offsetHeight>0:(0,n(497).getRatioInViewport)(e)>=(t||Number.MIN_VALUE)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCssPropSupported=void 0;var r=(0,n(681).getTestDiv)(window);t.isCssPropSupported=function(e,t){var i=void 0!==r.style[e];if(i&&t&&(0,n(5).isString)(t))try{r.style.cssText="".concat(e,": ").concat(t,";");var o=Boolean(r.style.cssText);return r.style.cssText="",o}catch(e){return!1}return i}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BannerTesttag=t.ClickPixel=void 0,function(e){e[e["TRANSITION"]=1]="TRANSITION",e[e["RETURN"]=2]="RETURN"}(t.ClickPixel||(t.ClickPixel={}));var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTemplate=function(){return[[4,"bannerIndex"],[1,"hasTitle"],[1,"hasSubtitle"],[3,"marketRating"],[1,"hasRmpCall2Action"],[1,"hasRmpPrice"],[2,"clickPixel"],[1,"hasText"],[1,"hasDomain"],[1,"hasImage"],[1,"hasCallouts"],[1,"hasPhone"],[1,"hasFavIcon"],[1,"hasVideo"],[1,"videoPlayed"],[1,"isConfirmedClick"],[1,"hasPrice"],[1,"hasStoreRating"],[2,"fittedImageBackgroundVariant"],[2,"fittedImageIndentationVariant"],[1,"hasAddress"],[1,"hasRmpIcon"],[1,"hasRmpRating"],[1,null],[1,"hasPcodeInfo"],[3,null],[2,"skipTokenSlider"],[4,null],[3,"staleWhileRevalidate"],[1,"isRmp"],[2,null],[2,null],[2,null],[1,"lastBit"]]},t.prototype.defaults=function(){return{}},t}(n(91).AbstractTesttag);t.BannerTesttag=o},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.OverlayStrategy=void 0;var o=n(683),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.factory=function(e){return e.element?new t(e):null},t.prototype.isVisible=function(){return!(0,o.isOverlapped)(this.args.element,this.args.overlappedPoints)},t}(n(548).IntervalStrategy);t.OverlayStrategy=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntervalStrategy=void 0;var r=n(7),i=function(){function e(e){this.args=e,this.isDetermined=!0}return e.prototype.start=function(){var e=this;this.timer=window.setInterval((0,r.protect)("visibilityObserver",(function(){e.args.callback(e.isVisible())})),this.args.interval)},e.prototype.stop=function(){window.clearInterval(this.timer)},e.prototype.getIsVisible=function(){return this.isVisible()},e}();t.IntervalStrategy=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowsVersion=void 0,t.windowsVersion=(0,n(687).getWindowsVersion)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.androidVersion=void 0,t.androidVersion=(0,n(673).getAndroidVersion)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIOS=void 0,t.isIOS=(0,n(185).getIsIOS)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOperaMini=void 0,t.isOperaMini=(0,n(663).isOperaMini)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fixCurrency=t.currencyRxp=void 0,t.currencyRxp=/(\u20bd|\u20b8|\u20b4|\u20ba|\u20be|&#8381;|&#8376;|&#8372;|&#8378;|&#8382;)/g;var r=(0,n(13).once)((function(){var e=(0,n(48).getHead)(window),t=document.createElement("style");t.innerHTML='@font-face {\n        font-family: ArialRub;\n        src: url(https://yastatic.net/pcode-static/resources/22/fonts/rouble/font.woff) format("woff"),\n            url(https://yastatic.net/pcode-static/resources/22/fonts/rouble/font.ttf) format("truetype");\n        unicode-range: U+20BD;\n    }',e.appendChild(t)}));t.fixCurrency=function(e){var i=null;return(n(549).windowsVersion>0&&n(549).windowsVersion<8.1||n(550).androidVersion>0&&n(550).androidVersion<5)&&(i="SF, Roboto, Arial, Helvetica, ArialRub, sans-serif",r()),(n(551).isIOS||n(688).isMac)&&(i="-apple-system"),i?e.replace(t.currencyRxp,'<span style="font-family: '.concat(i,' !important;">$1</span>')):e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseBlockId=void 0,t.parseBlockId=function(e){var t=/^(?:(\w{1,2})-(?:\w+-)?)?(\d+)-(\d+|\w+)$/.exec(e);return{product:t&&t[1]||null,pageId:t&&t[2]||null,impId:t&&t[3]||null}}},function(e,t,n){"use strict";n.r(t),n.d(t,"Latch",(function(){return c}));var r=n(103),i=n(258),o=n(561),a=n(186),s=n(457),c=function(){function e(e){var t=this;Object.defineProperty(this,"dispatch",{enumerable:!0,configurable:!0,writable:!0,value:Object(s["a"])((function(e){t.value=e,t._isDispatched=!0,Object(o["a"])(t.callbacks,e),t.callbacks.length=0}))}),Object.defineProperty(this,"callbacks",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_isDispatched",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object(r["a"])(e)&&this.callbacks.push(e)}var t=e.prototype;return t.subscribe=function(e){var t=this;return this._isDispatched?(e(this.value),a["a"]):(this.callbacks.push(e),function(){t.callbacks=Object(i["a"])(t.callbacks,(function(t){return t!==e}))})},t.getDispatched=function(){return this._isDispatched},t.getValue=function(){return this.value},t.wait=function(){var e=this;return new Promise((function(t){e.subscribe(t)}))},e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findContainer=void 0,t.findContainer=function(e){if(!(0,n(5).isString)(e))return null;var t=e.trim();if("#"===t[0]){var r=t.slice(1);if(i=document.getElementById(r))return i}try{var i;return i=document.querySelector(e)}catch(e){return null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPortion=t.VISIBLE_PORTION_BLOCK_DIRECT_COMMON=t.VISIBLE_PORTION_BIG_BLOCK=t.MIN_AREA_BIG_BLOCK=void 0,t.MIN_AREA_BIG_BLOCK=242500,t.VISIBLE_PORTION_BIG_BLOCK=.3,t.VISIBLE_PORTION_BLOCK_DIRECT_COMMON=.5,t.getPortion=function(e,n){return n&&(n.clientWidth||0)*(n.clientHeight||0)>=t.MIN_AREA_BIG_BLOCK?t.VISIBLE_PORTION_BIG_BLOCK:t.VISIBLE_PORTION_BLOCK_DIRECT_COMMON}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmUrls=void 0,t.confirmUrls=function(e,t){return(0,n(10).isArray)(e)||n(15).logger.error(new Error("confirmUrls: urls arent array"),"frameTransport"),(0,n(10).isArray)(e)&&0!==e.length?(0,n(672).performSafeframeTask)({name:"load_image",urls:e,bundle:"default",adblockCountToXhr:n(41).config.countToXhr,countToXhr:"exp"===(0,n(0).useExperimentFlag)("COUNT_TO_XHR")},t):Promise.resolve()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImageScaleModifier=t.getCroppedRect=void 0;var r=n(518);function i(e){var t=e.options||{};if((0,r.shouldContainImage)(e))return{width:Number(t["smart-center"].w),height:Number(t["smart-center"].h)}}t.getCroppedRect=i,t.getImageScaleModifier=function(e,t){if(void 0===t&&(t=i(e)),!t)return null;var n=e.containerWidth,r=e.containerHeight,o=n/r,a=t.width/t.height>=o?n/t.width:r/t.height;return Math.min(a,1)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e,t,n){for(var r=new Array(e.length),i=0;i<e.length;i++)r[i]=t.call(n,e[i],i,e);return r}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(313),i=n(481);function o(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];Object(i["a"])(e)&&Object(r["a"])(e,(function(e){"function"==typeof e&&e.apply(void 0,n)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logError=t.WRONG_VERIFIER_NAME=void 0;t.WRONG_VERIFIER_NAME="WRONG_VERIFIER_NAME",t.logError=function(e,t){n(15).logger.error(new Error(e),"measure_block",{data:t})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CONFIRM_FRAME_UNLOADED=t.CONFIRM_FRAME_READY=void 0,t.CONFIRM_FRAME_READY="CONFIRM_FRAME_READY",t.CONFIRM_FRAME_UNLOADED="CONFIRM_FRAME_UNLOADED"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callInSafeframe=void 0,t.callInSafeframe=function(e){var t=document.createElement("div");document.body.appendChild(t),t.style.position="fixed",t.style.left="-99px";var r=document.createElement("div");t.appendChild(r);var i=(0,n(61).generateHexString)(10),o={nonce:e.nonce,width:1,height:1,html:e.html,id:i},a=(0,n(13).once)((function(){var e=window;(0,n(135).nukeSafeframe)(e,i),(0,n(47).removeNodeFromParent)(t)})),s=function(){setTimeout(a,e.wait)},c=window;return(0,n(135).initSafeframe)(c,r,o,(function(){(0,n(3).isFunction)(e.onError)&&e.onError(),s()}),(function(){(0,n(3).isFunction)(e.onLoad)&&e.onLoad(),s()}),(function(t,n){e.onAction(t,n)})),a}},,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useStyles=void 0;var r=n(530),i=n(637);t.useStyles=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var o="object"==typeof(null===window||void 0===window?void 0:window.window)&&!(null===(e=window)||void 0===e?void 0:e.isPcodePreview),a=(0,r.useContext)(i.StyleContext).insertCss,s=function(){a.apply(void 0,t.filter(Boolean))};o?(0,r.useLayoutEffect)(s,[]):s()}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",i=e[3];if(!i)return r;if(t&&"function"==typeof btoa){var o=(s=i,c=btoa(unescape(encodeURIComponent(n.lv["json"].stringify(s)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(l," */")),a=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[r].concat(a).concat([o]).join("\n")}var s,c,l;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&i[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},function(e,t,n){"use strict";var r={};function i(e){e.forEach((function(e){if(--r[e]<=0){var t=document.getElementById(e);t&&t.parentNode.removeChild(t)}}))}e.exports=function(e,t){for(var o,a=void 0===t?{}:t,s=a.replace,c=void 0!==s&&s,l=a.prepend,u=void 0!==l&&l,d=a.prefix,p=void 0===d?"s":d,f=[],h=0;h<e.length;h++){var v=e[h],m=v[0],g=v[1],_=v[2],y=v[3],b=""+p+m+"-"+h;if(f.push(b),!r[b]||c){r[b]=1;var C=document.getElementById(b),O=!1;C||(O=!0,(C=document.createElement("style")).setAttribute("type","text/css"),C.id=b,_&&C.setAttribute("media",_));var E=g;y&&"function"==typeof btoa&&(E+="\n/*# sourceMappingURL=data:application/json;base64,"+(o=n.lv["json"].stringify(y),btoa(encodeURIComponent(o).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode("0x"+t)}))))+"*/",E+="\n/*# sourceURL="+y.file+"?"+b+"*/"),"textContent"in C?C.textContent=E:C.styleSheet.cssText=E,O&&(u?document.head.insertBefore(C,document.head.childNodes[0]):document.head.appendChild(C))}else r[b]++}return i.bind(undefined,f)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendPixel=void 0,t.sendPixel=function(e,t,r,i){(0,n(631).loadImage)({src:e,onLoad:t,onError:r,ctx:i})}},function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t},o=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MraidHelpers=void 0,o(n(632),t);var s=a(n(252));t.MraidHelpers=s},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.RafSizeSensor=void 0;var o=function(e){function t(t,r){void 0===r&&(r={disableProtect:!1});var i=e.call(this)||this;i.container=t,i.settings=r,i.listeners=[],i.canTriggerResize=!0;var o=new(n(534).SizeSensor)(i.container),a=(0,n(533).rafDebounce)((function(e,t){if(i.settings.disableProtect)(0,n(2).forEach)(i.listeners,(function(e){return e(t,n(4).noop)}));else if(i.canTriggerResize){i.canTriggerResize=!1;var r=(0,n(12).map)(i.listeners,(function(e){return new Promise((function(n){e(t,n)}))}));Promise.all(r).then((function(){(0,n(113).requestAnimationFrame)((function(){i.canTriggerResize=!0}))}))}}));return o.onResize.add(a),i.addDestroyHandler((function(){o.destroy(),a.cancel(),i.listeners=[]})),i}return i(t,e),t.prototype.addResizeHandler=function(e){this.listeners.push(e)},t.prototype.addSyncResizeListener=function(e){this.listeners.push((function(t,n){e(t),n()}))},t}(n(452).Destroyable);t.RafSizeSensor=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Destroyable=void 0;var r=function(){function e(e){this.destroyed=!1,this.props=e,this.embeddedResources={},this.onDestroyTasks=[],this.init()}return e.prototype.init=function(){},e.prototype.destroy=function(){for(var e=(0,n(32).getObjectKeys)(this.embeddedResources);e.length;){var t=e.shift();this.destroyResource(t)}for(;this.onDestroyTasks.length;){var r=this.onDestroyTasks.shift();r&&r()}this.destroyed=!0},e.prototype.isDestroyed=function(){return this.destroyed},e.prototype.doOnDestroy=function(e){this.onDestroyTasks.push(e)},e.prototype.addResource=function(e,t){this.embeddedResources[e]=t},e.prototype.getResource=function(e){var t=this.embeddedResources[e];return t||null},e.prototype.destroyResource=function(e){var t=this.getResource(e);e&&null!==t&&(t.destroy(),delete this.embeddedResources[e])},e.prototype.addEventListener=function(e,t,r,i){var o=(0,n(7).protect)("compositeModule:handler:"+t,r,this),a=(0,n(470).addEventListener)(e,t,o,i);return this.doOnDestroy(a),a},e.prototype.protectAsyncCallback=function(e){var t=this;return(0,n(7).protect)("compositeModule:asyncCallback",(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.isDestroyed()||e.apply(t,n)}))},e}();t.Destroyable=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByData=void 0,t.getElementsByData=function(e,t,r){void 0===r&&(r=document);var i=void 0===t?"[data-".concat(e,"]"):"[data-".concat(e,'="').concat(t,'"]'),o=r.querySelectorAll(i);return o&&0!==o.length?(0,n(99).listToArray)(o):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadImage=void 0,t.loadImage=function(e){if(!e.src)return n(15).logger.warn(new Error("Empty image src"),"loadImage"),void(e.onError&&(0,n(7).protect)("handler:error",e.onError,e.ctx)());var t=new Image;(0,n(3).isFunction)(e.onLoad)&&(0,n(24).on)(t,"load",(0,n(13).once)((function(){return e.onLoad(t)})),e.ctx),(0,n(3).isFunction)(e.onError)&&(0,n(24).on)(t,"error",(0,n(13).once)(e.onError),e.ctx),t.src=e.src}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.disableFastClick=void 0,t.disableFastClick=function(e){n(97).isMobile&&e.classList.add("needsclick")}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ValueSignal=void 0;var o=function(e){function t(t,n){void 0===n&&(n=function(e,t){return e===t});var r=e.call(this)||this;return r.checkToEqualFunction=n,r.value=t,r}return i(t,e),t.prototype.getValue=function(){return this.value},t.prototype.subscribeValueCondition=function(e,t){return this.add((function(r){e(r)&&(0,n(183).dispatchSignalCallback)(t,r)}))},t.prototype.subscribeValueConditionOnce=function(e,t){var r=this.subscribeValueCondition(e,(function(e){r(),(0,n(183).dispatchSignalCallback)(t,e)}));return r},t.prototype.dispatch=function(t){this.checkToEqualFunction(this.value,t)||(this.value=t,e.prototype.dispatch.call(this,t))},t}(n(134).Signal);t.ValueSignal=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeSyntheticTimeupdateInterval=void 0;var r=0,i=[];t.subscribeSyntheticTimeupdateInterval=function(e){return 0===i.length&&(r=window.setInterval((function(){i.forEach((function(e){return e()}))}),n(636).VIDEO_TIMEUPDATE_INTERVAL)),i.push(e),function(){var t=i.indexOf(e);t>-1&&i.splice(t,1),0===i.length&&clearInterval(r)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GOOGLE_IMA_SDK_TIMEUPDATE_INTERVAL=t.SMART_TV_TIMEUPDATE_INTERVAL=t.VIDEO_TIMEUPDATE_INTERVAL=void 0,t.VIDEO_TIMEUPDATE_INTERVAL=250,t.SMART_TV_TIMEUPDATE_INTERVAL=1500,t.GOOGLE_IMA_SDK_TIMEUPDATE_INTERVAL=500},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StyleContext=t.defaultInsertCss=void 0;var r=n(108);t.defaultInsertCss=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.map((function(e){return e._insertCss()}));return function(){return n.forEach((function(e){return e()}))}},t.StyleContext=(0,r.createContext)({insertCss:t.defaultInsertCss})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateId=void 0;var r=n(148);t.generateId=function(){return"id".concat((0,r.generateSessionId)())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearHTML=void 0;t.clearHTML=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ADVERTISER_INFO_URL=t.ABOUT_URL=t.CrossButtonVariant=void 0,function(e){e["LIGHT"]="light",e["DARK"]="dark"}(t.CrossButtonVariant||(t.CrossButtonVariant={})),t.ABOUT_URL="https://yandex.ru/secure-ads",t.ADVERTISER_INFO_URL="https://yandex.ru/ads/advertiser_info"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCROLLER_AUTOPLAY_DURATION=t.SCROLLER_AUTOPLAY_DELAY=t.SCROLLER_AUTOPLAY_ANIMATION=t.SCROLLER_AUTOPLAY=t.SCROLLER_DATA_ATTR=void 0,t.SCROLLER_DATA_ATTR="scroller",t.SCROLLER_AUTOPLAY="autoplay",t.SCROLLER_AUTOPLAY_ANIMATION="autoplay-animation",t.SCROLLER_AUTOPLAY_DELAY="autoplay-delay",t.SCROLLER_AUTOPLAY_DURATION="autoplay-duration"},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_LANG=t.Language=t.LANGUAGE_CODE_MAP=void 0,t.LANGUAGE_CODE_MAP=n(495).langIndexes,function(e){e["Ru"]="ru",e["En"]="en",e["Kk"]="kk",e["Be"]="be",e["Tr"]="tr",e["Uk"]="uk",e["De"]="de",e["Cs"]="cs",e["Es"]="es",e["Pl"]="pl",e["Pt"]="pt"}(r=t.Language||(t.Language={})),t.DEFAULT_LANG=r.Ru},function(e,t,n){"use strict";var r=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=void 0,t.throttle=function(e,t,n){var i,o=0,a=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];e.call.apply(e,r([n],t,!1))};return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var s=Date.now(),c=s-o;clearTimeout(i),c<t?i=window.setTimeout.apply(window,r([a,t-c],e,!1)):(o=s,a.apply(void 0,e))}}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.showAdtune=void 0;var o=n(529).getAlias;t.showAdtune=function(e,t,a){var s,c=a.nonce,l=a.className,u=a.protectNode,d=a.zIndexFix,p=a.data,f=a.hasShowBug,h=t.callback,v=void 0===h?n(4).noop:h,m=i(t,["callback"]);return(s=m.language,new Promise((function(e){n(693)(s)((function(t){e(t.render)}),(function(e){return n(15).logger.error(e,"Adtune bundle loading error")}))}))).then((function(t){var i,a=document.createElement("div");a.setAttribute("data-feedback","true"),a.setAttribute("data-name","adtune-feedback"),d&&(a.style.zIndex="10000"),l&&a.classList.add(o(l)),e.appendChild(a),t(r(r({},m),{data:p,hasShowBug:f&&!(0,n(146).isHermione)(),protectNode:u,onScreenRender:function(t){var r=t.size;r&&"micro"===r&&(i=new(n(662).ScrollerClientCode)({container:e,salt:""}))},callback:function(t){t||(e.removeChild(a),null==i||i.destroy()),v(t)}}),a,c)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHidden=t.changeEventName=void 0;var r="hidden";if(t.changeEventName="visibilitychange",!(r in document))for(var i=0,o=["webkit","moz","ms","o"];i<o.length;i++){var a=o[i],s="".concat(a,"Hidden");if(s in document){r=s,t.changeEventName="".concat(a,"visibilitychange");break}}var c=new(n(684).YaBrowserVisibilityApiWrapper);t.isHidden=function(){return c.canUseYaBroApi()?c.isPageHiddenYaBroApi():Boolean(document[r])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animate=void 0;var r={linear:function(e,t,n,r){return n*e/r+t}};t.animate=function(e){var t=e.easing,i=e.start,o=void 0===i?0:i,a=e.end,s=void 0===a?0:a,c=e.duration,l=e.onFrame,u=e.onEnd,d=!0;return function(e,t){var r=Date.now();(0,n(113).requestAnimationFrame)((function i(){e(Date.now()-r)?(0,n(113).requestAnimationFrame)(i):t&&t()}))}((function(e){var n=(0,r[t||"linear"])(e,o,s-o,c),i=e<c;return l(i?n:s),i&&d}),u),{stop:function(){d=!1}}}},function(e,t,n){"use strict";var r,i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getAssetClick=t.createClickInfo=t.getClickInfoForUrl=void 0,t.getClickInfoForUrl=function(){var e;return r&&(e={clickX:r.clickX,clickY:r.clickY,width:r.width,height:r.height}),e},t.createClickInfo=function(e,t){void 0===t&&(t={});var o=(0,n(34).getBoundingClientRect)(e.currentTarget),a=o.left,s=o.top,c=o.width,l=o.height,u=Math.round(e.clientX-a),d=Math.round(e.clientY-s);return r=i({clickX:u,clickY:d,width:Math.round(c),height:Math.round(l)},t)},t.getAssetClick=function(e,t){if(e==t)return n(75).DEFAULT_CLICK_ASSET;if("string"==typeof e.className&&e.className.search(n(504).YA_CLAMP_CONTENT)>=0)try{var r=void 0;return e.parentNode&&e.parentNode.lastElementChild&&(r=e.parentNode.lastElementChild.firstElementChild.dataset.assetClick),r||n(75).DEFAULT_CLICK_ASSET}catch(e){return n(75).DEFAULT_CLICK_ASSET}var i=e;do{if(i.dataset&&i.dataset.assetClick)return i.dataset.assetClick;i=null==i?void 0:i.parentNode}while(i!==t&&!Boolean(i));return n(75).DEFAULT_CLICK_ASSET}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.i18n=void 0,t.i18n=(0,n(664).getI18n)(n(666).labels)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OneOfStrategy=void 0;var r=function(){function e(){}return e.from=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){for(var n=0,r=e;n<r.length;n++){var i=(0,r[n])(t);if(i)return i}return null}},e}();t.OneOfStrategy=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DummyStrategy=void 0;var r=function(){function e(){this.isDetermined=!1}return e.factory=function(){return new e},e.prototype.start=function(){},e.prototype.stop=function(){},e.prototype.getIsVisible=function(){return!0},e}();t.DummyStrategy=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPreparedDisclaimer=t.hasImportantFlag=void 0,t.hasImportantFlag=n(320).hasImportantFlags;var r={medicine:"DISCLAIMER_MEDICINE",alcohol:"DISCLAIMER_ALCOHOL",dietarysuppl:"DISCLAIMER_DIETARYSUPPL"};function i(e,t,i){for(var o=0,a=e;o<a.length;o++){var s=a[o].trim();if(s===t)return(0,n(492).i18nBanners)(r[s],i)}}t.getPreparedDisclaimer=function(e,t){void 0===e&&(e=""),void 0===t&&(t="1");var n=(e||"").split(",");return i(n,"medicine",t)||i(n,"alcohol",t)||i(n,"dietarysuppl",t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntersectionStrategy=void 0;var r=n(544),i=Math.pow(2,-149),o=function(){function e(e){var t=this;this.args=e,this.isDetermined=!0,this.callback=function(e){var n=e[0].intersectionRatio>=t.observer.thresholds[0];t.args.callback(n)},this.threshold=Math.max(i,this.args.portion),this.observer=new IntersectionObserver(this.callback,{threshold:this.threshold})}return e.factory=function(t){return"undefined"==typeof IntersectionObserver?null:"thresholds"in IntersectionObserver.prototype&&t.element?new e(t):null},e.prototype.start=function(){this.observer.observe(this.args.element)},e.prototype.stop=function(){this.observer.disconnect()},e.prototype.getIsVisible=function(){return(0,r.isInViewport)(this.args.element,this.threshold)},e}();t.IntersectionStrategy=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationQueue=t.AnimationQueue=void 0;var r=n(44),i=n(13),o=n(7),a=function(){function e(e){void 0===e&&(e={}),this.queue=[],this.timer=null,this.runningTask=null;var t=e.delay,n=void 0===t?5e3:t;this.delay=n}return e.prototype.push=function(e){-1===(0,r.indexOf)(this.queue,e)&&(this.queue.push(e),this.start())},e.prototype.remove=function(e){var t=(0,r.indexOf)(this.queue,e);if(t>-1)this.queue.splice(t,1),0===this.queue.length&&this.stop();else if(this.isRunningTask(e)){var n=this.runningTask.next;this.runningTask=null,e.onStop(n)}},e.prototype.isRunningTask=function(e){return this.runningTask&&e===this.runningTask.task},e.prototype.start=function(){null===this.runningTask&&null===this.timer&&this.sleep()},e.prototype.stop=function(){clearTimeout(this.timer),this.runningTask=null,this.timer=null},e.prototype.sleep=function(){this.runningTask=null,this.timer=o.protect.setTimeout(this.run,this.delay,this)},e.prototype.run=function(){var e=this;this.timer=null,this.runningTask=null;var t=this.queue.shift();t&&(this.runningTask={task:t,next:(0,i.once)((function(){return e.sleep()}))},t.onStart(this.runningTask.next))},e}();t.AnimationQueue=a,t.animationQueue=new a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBlockVisibilityConfirmer=t.addDeterminationFlag=void 0;t.addDeterminationFlag=function(e,t){return(0,n(23).addParamToUrl)(e,"viewability-undetermined",String(Number(!t)))};t.createBlockVisibilityConfirmer=function(e){var i=e.element,o=e.autostart,a=void 0===o||o,s=e.confirmOnHover,c=void 0===s||s,l=e.onVisible,u=e.trackings,d=e.delay,p=e.strategy,f=e.onVisibilityChangeHandler,h=[{delay:d,onConfirm:l,confirmOnHover:c}];return u&&(u.mrcImpression&&h.push({delay:(0,n(454).getDelay)(n(237).VISIBILITY_CRITERIA.MRC),onConfirm:function(e,r){(0,n(469).sendConfirm)({src:(0,t.addDeterminationFlag)(u.mrcImpression,r)})},confirmOnHover:c}),(0,n(10).isArray)(u.mrcImpressions)&&(0,n(2).forEach)(u.mrcImpressions,(function(e){(0,n(5).isString)(e)?h.push({confirmOnHover:!1,delay:(0,n(454).getDelay)(n(237).VISIBILITY_CRITERIA.MRC),onConfirm:function(r,i){(0,n(469).sendConfirm)({src:(0,t.addDeterminationFlag)(e,i)})}}):(0,n(5).isString)(e.url)&&h.push({delay:e.delay||(0,n(454).getDelay)(n(237).VISIBILITY_CRITERIA.MRC),confirmOnHover:!1,onConfirm:function(r,i){var o=e.url;!i&&e.undeterminedUrl&&(o=e.undeterminedUrl),o=(0,t.addDeterminationFlag)(o,i),e.frame?(0,n(558).confirmUrls)([o],"load_image"):(0,n(469).sendConfirm)({src:o})}})})),(0,n(10).isArray)(u.viewabilityTracking)&&(0,n(2).forEach)(u.viewabilityTracking,(function(e){(0,n(5).isString)(e.url)&&e.time&&r(h,e.url,e.time,e.frame),(0,n(10).isArray)(e.childs)&&(0,n(5).isString)(e.prefix_url)&&(0,n(2).forEach)(e.childs,(function(t){r(h,"".concat(e.prefix_url).concat(t.suffix_url),t.time,e.frame)}))}))),new(n(538).VisibilityConfirmer)({element:i,autostart:a,strategy:p||n(473).GeneralStrategy.factory,interval:100,confirmations:h,onVisibilityChange:f,preventStop:(0,n(3).isFunction)(f)})};var r=function(e,r,i,o){void 0===o&&(o=!1),e.push({delay:i,onConfirm:function(e,i){o?(0,n(558).confirmUrls)([r],"load_image"):(0,n(469).sendConfirm)({src:(0,t.addDeterminationFlag)(r,i)})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAdvertiserInfoUrl=void 0;var r=n(674),i=n(640);t.getAdvertiserInfoUrl=function(e){return e?function(){try{return((null===window||void 0===window?void 0:window.document)?window.location.hostname:(0,r.useLayoutConfig)().referer).indexOf("yandex.by")>-1?i.ADVERTISER_INFO_URL.replace("yandex.ru","yandex.by"):i.ADVERTISER_INFO_URL}catch(e){return i.ADVERTISER_INFO_URL}}()+e.slice(e.lastIndexOf("/")):""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkVisibility=t.removeObserver=t.addObserver=void 0;var r,i=n(241),o=n(257),a={};function s(e){return e?{inScreen:e.ratio>0,ratio:e.ratio}:{inScreen:!1,ratio:0}}function c(e,t,n){a[e]={callback:n,ratio:0},r.observe(t)}t.addObserver=function(e,t,n){var l=(0,o.getElementById)(e,n);l&&(i.isIntersectionObserverSupported?(r||(r=new IntersectionObserver((function(e){e.forEach((function(e){var t=e.target.getAttribute("id");if(t){var n=Math.round(1e4*e.intersectionRatio)/1e4,r=a[t];r&&(r.ratio=n,r.callback(s(r)))}}))}),{root:null,rootMargin:"0px",threshold:[.01,.3,.45,.5,.7]})),c(e,l,t)):setTimeout((function(){t({inScreen:!0,ratio:1})}),0))},t.removeObserver=function(e,t){var n=(0,o.getElementById)(e,t);delete a[e],n&&i.isIntersectionObserverSupported&&r&&r.unobserve(n)},t.checkVisibility=function(e,t){return new Promise((function(n){var r=a[e];if(r)n(s(r));else{var i=(0,o.getElementById)(e,t);i?c(e,i,(function(e){n(e)})):n(s(null))}}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIE=void 0,t.isIE=(0,n(290).getIsIE)()},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentStrategy=void 0;var a=n(24),s=o(n(645)),c=function(){function e(e){var t=this;this.args=e,this.isDetermined=!0,this.onVisibilityChangeCallback=function(){t.args.callback(t.getIsVisible())}}return e.factory=function(t){return new e(t)},e.prototype.start=function(){var e=this;this.timer=window.setTimeout((function(){e.onVisibilityChangeCallback(),e.subscription=(0,a.on)(document,s.changeEventName,e.onVisibilityChangeCallback)}))},e.prototype.stop=function(){window.clearTimeout(this.timer),(0,a.un)(this.subscription)},e.prototype.getIsVisible=function(){return!s.isHidden()},e}();t.DocumentStrategy=c},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.MraidStrategy=void 0;var i=n(627),o=n(7),a=function(){function e(t){var n=this;this.args=t,this.isDetermined=!0,this.onViewableChange=(0,o.protect)("MRAID::viewableChange",(function(){var e=n.args.mraid;n.check(e.isViewable())}),this),this.onExposureChange=(0,o.protect)("MRAID::exposureChange",(function(e){var t=n.args.portion,r=e/100;n.check(r>=t)}),this);var r=t.mraid,i=r.getVersion();this.onViewableChange.toString=e.getProtectedToStringFunction(),this.onExposureChange.toString=e.getProtectedToStringFunction(),(parseInt(i,10)>=3||r.__PRIV__&&r.__PRIV__.isYaMraid3FeatureSupported&&r.__PRIV__.isYaMraid3FeatureSupported("exposureChange"))&&(this.isSupportExposureChange=!0)}return e.factory=function(t){var n=t.element;if(!n)return null;var o=i.MraidHelpers.getMraid(n);return o?new e(r(r({},t),{mraid:o})):null},e.prototype.start=function(){var e=this.args.mraid;this.isSupportExposureChange?e.addEventListener("exposureChange",this.onExposureChange):(e.addEventListener("viewableChange",this.onViewableChange),setTimeout(this.onViewableChange))},e.prototype.stop=function(){var e=this.args.mraid;this.isSupportExposureChange?e.removeEventListener("exposureChange",this.onExposureChange):e.removeEventListener("viewableChange",this.onViewableChange)},e.prototype.getIsVisible=function(){return!0},e.prototype.check=function(e){(0,this.args.callback)(e)},e.callbackCount=0,e.getProtectedToStringFunction=function(){var t=e.callbackCount++;return function(){return"pcode-protected-callback-".concat(t)}},e}();t.MraidStrategy=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteUndefinedProperties=void 0,t.deleteUndefinedProperties=function(e){var t={};for(var r in e)(0,n(102).hasOwnProperty)(e,r)&&void 0!==e[r]&&(t[r]=e[r]);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAdsdkUrl=void 0,t.getAdsdkUrl=function(){return n(68).ADSDK_JS}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollerClientCode=void 0;var o=n(656),a=n(146),s=n(630),c=n(653),l=n(629),u=n(706),d=n(708),p=n(709),f=n(710),h=n(641),v={inScreen:p.inScreenAnimation,ticker:f.tickerAnimation},m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){if(!(0,a.isHermione)()){this.animationQueue=new c.AnimationQueue({delay:16.66});for(var e=0,t=(0,s.getElementsByData)(h.SCROLLER_DATA_ATTR,void 0,this.props.container)||[];e<t.length;e++){var n=t[e];this.initScrollerListeners(n)}}},t.prototype.initScrollerListeners=function(e){var t;if(e){var n=e,r=function(e){if(e){var t=Number(e);if(isNaN(t))return;return t}},i=n.getAttribute("id"),a=e.hasAttribute("data-".concat(h.SCROLLER_AUTOPLAY)),s=r(e.getAttribute("data-".concat(h.SCROLLER_AUTOPLAY_DELAY))),c=r(e.getAttribute("data-".concat(h.SCROLLER_AUTOPLAY_DURATION))),l=new u.ScrollerController(e,this.props.salt,n,this.animationQueue,this.addEventListener.bind(this));if(this.addEventListener(e,"mousemove",(function(e){l.runAnimation((0,d.mousemoveAnimation)(e))})),a&&i){var f=e.getAttribute("data-".concat(h.SCROLLER_AUTOPLAY_ANIMATION)),m=null!==(t=v[null!=f?f:""])&&void 0!==t?t:p.inScreenAnimation,g=!1;(0,o.addObserver)(i,(function(e){e.inScreen?g||(l.runAnimation(m(s,c)),g=!0):l.resetPosition()}),e),this.doOnDestroy((function(){return(0,o.removeObserver)(i,e)}))}}},t}(l.Destroyable);t.ScrollerClientCode=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOperaMini=void 0;t.isOperaMini=function(e){void 0===e&&(e=window);var t=e.navigator.userAgent;return-1!==t.indexOf("Opera Mini")||(-1!==t.indexOf("; wv)")&&-1!==t.indexOf(" OPR/")||-1!==t.indexOf(" OPiOS/"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getI18n=void 0;t.getI18n=function(e){return function(t,r,i){return(0,n(665).getString)(e,t,r,i)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getString=void 0;var r=[1,3,6];t.getString=function(e,t,i,o){var a;if(!i)throw new Error('I18n: \u043f\u0435\u0440\u0435\u0434\u0430\u043d \u043d\u0435\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u043a\u043b\u044e\u0447 \u044f\u0437\u044b\u043a\u0430: "'.concat(i,'"'));if(a=Number(i),-1===(0,n(44).indexOf)(r,a)&&(a=1),!e[t]||!e[t][a])throw new Error('I18n: \u043d\u0435\u0442 \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u043c\u0435\u0442\u043a\u0438 "'.concat(t,'" \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 ').concat(a));var s=e[t][a];if((0,n(3).isFunction)(s)){if(!(0,n(14).isObject)(o))throw new Error('I18n: \u0412\u043c\u0435\u0441\u0442\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u043d "'.concat(typeof o,'"'));return s(o)}return s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.labels=void 0,t.labels={ABOUT_SELLER:{1:"\u041e \u043f\u0440\u043e\u0434\u0430\u0432\u0446\u0435",3:"About the seller",6:"Sat\u0131c\u0131 hakk\u0131nda"},HIDE:{1:"\u0421\u043a\u0440\u044b\u0442\u044c",3:"Hide",6:"Gizle"},HIDE_AD:{1:"\u0421\u043a\u0440\u044b\u0442\u044c&nbsp;\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435",3:"Hide&nbsp;ad",6:"Reklamlar\u0131&nbsp;gizle"},ADDRESS_AND_PHONE:{1:"\u0410\u0434\u0440\u0435\u0441&nbsp;\u0438&nbsp;\u0442\u0435\u043b\u0435\u0444\u043e\u043d",3:"Adress&nbsp;and&nbsp;phone",6:"Adres&nbsp;ve&nbsp;telefon"},CONTACTS:{1:"\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b",3:"Contacts",6:"Contacts"},GEO_FROM:{1:"\u041e\u0442&nbsp;\u0432\u0430\u0441"},METRO:{1:"\u043c.",3:"m.",6:"m."},MORE:{1:"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435",3:"More",6:"Detayl\u0131"},LEARN_MORE_LONG:{1:"\u0423\u0437\u043d\u0430\u0439\u0442\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435",3:"",6:""},MORE_ON:{1:"\u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u0430",3:"More on",6:"Ayr\u0131nt\u0131l\u0131 bilgi"},ON:{1:"\u043d\u0430",3:"",6:"ile"},LOOK_FURTHER:{1:"\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0442\u0430\u043a\u0436\u0435",3:"see also",6:"\u015eunlara da g\xf6z at\u0131n"},LEGAL_INFO:{1:"\u042e\u0440.\xa0\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",3:"Legal info",6:"Yasal bilgiler"},LEGAL_INFO_FULL:{1:"\u042e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",3:"Legal info",6:"Yasal bilgiler"},ADVERTISMENT:{1:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430",3:"Ad",6:"Reklam"},INSTALL:{1:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c",3:"Install",6:"Y\xfcklemek"},INSTALL_FROM_STORE:{1:function(e){return"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0437 ".concat(e.store)},3:function(e){return"Get it on ".concat(e.store)},6:function(e){return"".concat(e.store," 'den alin")}},DOWNLOAD_APP:{1:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c",3:"Get it",6:"Y\xfcklemek"},RATING_FROM_STORE:{1:function(e){return"".concat(e.rating," \u0438\u0437 ").concat(e.max)},3:function(e){return"".concat(e.rating," out of ").concat(e.max)},6:function(e){return"".concat(e.rating," \xfczerinden ").concat(e.max)}},REVIEW:{1:function(e){return(0,n(453).getNounForm)(e.count,["\u043e\u0442\u0437\u044b\u0432","\u043e\u0442\u0437\u044b\u0432\u0430","\u043e\u0442\u0437\u044b\u0432\u043e\u0432"])},3:function(e){return(0,n(453).getNounForm)(e.count,["review","reviews","reviews"])},6:function(e){return(0,n(453).getNounForm)(e.count,["yorum","yorum","yorumlar"])}},DOWNLOADS:{1:function(e){return(0,n(453).getNounForm)(e.count,["\u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435","\u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f","\u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0439"])},3:function(e){return(0,n(453).getNounForm)(e.count,["download","downloads","downloads"])},6:function(e){return(0,n(453).getNounForm)(e.count,["kurulum","kurulum","kurulum"])}},MILLIONS_SHORT:{1:"\u043c\u043b\u043d.",3:"M",6:"M"},THOUSANDS_SHORT:{1:"\u0442\u044b\u0441.",3:"K",6:"B"},RATING:{1:"\u0420\u0435\u0439\u0442\u0438\u043d\u0433",3:"Rating",6:"De\u011ferlendirme"},SMART_READ_MORE:{1:"\u0423\u0437\u043d\u0430\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435",3:"Find out more",6:"Daha fazla bilgi"},ADV_COLLAPSE:{1:"\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c",3:"Hide",6:"Gizle"},ADV_MINIMIZE:{1:"\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c",3:"Minimize",6:"Gizle"},ADV_EXPAND:{1:"\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c",3:"Expand",6:"G\xf6ster"},ADV_IS_HIDDEN:{1:"\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043a\u0440\u044b\u0442\u043e",3:"Advertisement hidden",6:"Reklam gizlendi"},CANCEL:{1:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c",3:"Cancel",6:"\u0130ptal"},ZEN_ADV_IS_HIDDEN:{1:"\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043a\u0440\u044b\u0442\u043e. \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0439.",3:"The ad is hidden. You will see fewer ads like this.",6:"Reklam gizlendi. Benzer reklamlar\u0131 daha az g\xf6receksiniz."},LOGO_DIRECT:{1:"\u0414\u0438\u0440\u0435\u043a\u0442",3:"Direct",6:"Direct"},RUB:{1:"\u0440\u0443\u0431",3:"rub",6:"ruble"},BYR:{1:"Br",3:"Br",6:""},UZS:{1:"\u0441\u0443\u043c",3:"sum",6:""},TURBO_PAGE:{1:"\u0422\u0443\u0440\u0431\u043e-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430",3:"Turbo page",6:"Turbo sayfa"},COPY:{1:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",3:"Copy",6:"Kopyala"},ZEN2_COPIED:{1:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e",3:"Copied",6:"Kopyalanan"},ZEN2_SHARE:{1:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f",3:"Share",6:"Payla\u015f"},ZEN2_SHARE_TELEGRAM:{1:"Telegram",3:"Telegram",6:"Telegram"},ZEN2_SHARE_VK:{1:"VK",3:"VK",6:"VK"},ZEN2_SHARE_OK:{1:"\u041e\u0434\u043d\u043e\u043a\u043b\u0430\u0441\u0441\u043d\u0438\u043a\u0438",3:"Odnoklassniki",6:"Odnoklasniki"},ZEN2_SHARE_FB:{1:"Facebook",3:"Facebook",6:"Facebook"},ZEN2_SHARE_TWITTER:{1:"Twitter",3:"Twitter",6:"Twitter"},ZEN2_SHARE_WHATSAPP:{1:"Whats App",3:"Whats App",6:"Whats App"},SOCIAL_ADV:{1:"\u0421\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0430",3:"Social advertising",6:""},SOCIAL_ADV_SHORT:{1:"\u0421\u043e\u0446\u0440\u0435\u043a\u043b\u0430\u043c\u0430",3:"Social ad",6:""},SOCIAL_ADV_SHORT_ZEN2_RIGHT:{1:"\u0421\u043e\u0446. \u0440\u0435\u043a\u043b\u0430\u043c\u0430",3:"Social ad",6:""},REPEAT:{1:"\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c",3:"Repeat",6:"Tekrarla"},ADD_TO_COLLECTION:{1:"\u0412 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435",3:"Add to collection",6:""},COLLECTION:{1:"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435",3:"Collection",6:""},ADDED_TO:{1:"\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e \u0432",3:"Added to",6:""},LIKE:{1:"\u041d\u0440\u0430\u0432\u0438\u0442\u0441\u044f",3:"Like",6:""},DISLIKE:{1:"\u041d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f",3:"Dislike",6:""},SUBSCRIBE:{1:"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f",3:"Subscribe",6:"Abone ol"},SUBSCRIBED:{1:"\u0412\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b",3:"Subscribed",6:""},YANDEX_SERVICES:{1:"\u0421\u0435\u0440\u0432\u0438\u0441\u044b \u042f\u043d\u0434\u0435\u043a\u0441\u0430",3:"Yandex Services"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCtx=void 0;var r=n(108),i=n(530);t.createCtx=function(){var e=(0,r.createContext)(void 0);return[function(){var t=(0,i.useContext)(e);if(void 0===t)throw new Error("useCtx must be inside a Provider with a value");return t},e.Provider]}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r=(0,n(6).getYaContext)();r.Rum&&r.Rum.then((function(n){n&&n.isRumInited()&&n.sendDelta("pcode.vasLoad.".concat(t),e)}))}Object.defineProperty(t,"__esModule",{value:!0}),t.InpageController=void 0;var s=function(){function e(){}return e.getInstance=function(){return this.instance},e.prototype.setUaasConfig=function(e){this.uaasConfig=e},e.prototype.loadInpageModule=function(){var e=this;return this.loadVasModulePromise?this.loadVasModulePromise:(this.loadVasModulePromise=(0,n(7).protect)("InpageController::CallLoadVasModule",(function(){return(0,n(679).loadVasModule)({win:window,moduleName:"InPage",config:(0,n(677).prepareVasLoaderConfig)(e.uaasConfig),vasLoaderUrl:(0,n(661).getAdsdkUrl)(),serviceName:"pcode",serviceVersion:String((0,n(20).getCodeVersion)())}).promise}))(),this.loadVasModulePromise||Promise.reject())},e.instance=new e,e}(),c=function(e){function t(t){var r=e.call(this)||this;return r.plays=!0,r.callbacks=[],r.sendDeltaVasLoad=(0,n(13).once)(a),r.init(t),r}return i(t,e),t.setUaasConfig=function(e){s.getInstance().setUaasConfig(e)},t.prototype.init=function(e){var t=this,r=e.videoContainer,i=e.adSdkInpageConfig,a=e.onError,c=(0,n(13).once)(a),l=performance.now();s.getInstance().loadInpageModule().then((function(e){e.addInPageVideo(r,o(o({},i),n(678).SURVEY_INPAGE_PLAYBACK_PARAMETERS),(function(e){if((0,n(691).isError)(e))c(e);else{t.sendDeltaVasLoad(performance.now()-l,"loadVasModule");var r=e;if(t.isDestroyed)return void r.destroy();t.inpageController=r,(0,n(2).forEach)(t.callbacks,(function(e){return e(r)})),t.playState=t.plays,t.addDestroyHandler((function(){return r.destroy()}))}}))}))["catch"](c)},t.prototype.setCallback=function(e,t){this.usePublicController((function(n){n[e]=t}))},t.prototype.usePublicController=function(e){this.inpageController?e(this.inpageController):this.callbacks.push(e)},Object.defineProperty(t.prototype,"playState",{get:function(){return this.plays},set:function(e){if(this.plays=e,!this.isDestroyed&&this.inpageController){var t=this.inpageController.getPaused();t&&e&&this.inpageController.play(),t||e||this.inpageController.pause()}},enumerable:!1,configurable:!0}),t.prototype.play=function(){this.playState=!0},t.prototype.pause=function(){this.playState=!1},t}(n(452).Destroyable);t.InpageController=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIndex=void 0;t.findIndex=function(e,t){void 0===t&&(t=function(e){return Boolean((0,n(482).identity)(e))});for(var r=0;r<e.length;r++)if(t(e[r],r,e))return r;return-1}},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ViewportStrategy=void 0;var o=n(55),a=n(671),s=n(34),c=function(e){function t(t){var n=e.call(this,t)||this;n.args=t,n.windowChain=(0,a.getFriendlyWindowsChain)(window).reverse();try{n.isDetermined=Boolean(window.top.location.hostname)}catch(e){n.isDetermined=!1}return n}return i(t,e),t.factory=function(e){return e.element?new t(e):null},t.prototype.isVisible=function(){var e=this,t=(0,s.getBoundingClientRect)(this.args.element),n=t.width*t.height;if(n<=0)return!1;var r=(0,o.reduce)(this.windowChain,(function(t,n){return e.getFrameVisiblePart(n,t)}),void 0),i=Math.max(t.left,r.left),a=Math.max(t.top,r.top);return(Math.min(t.right,r.right)-i)*(Math.min(t.bottom,r.bottom)-a)>=Math.floor(n*this.args.portion)},t.prototype.getFrameVisiblePart=function(e,t){if(!t||!e.frameElement)return{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight};var n=(0,s.getBoundingClientRect)(e.frameElement);return{left:Math.max(t.left-n.left,0),right:e.innerWidth-Math.max(n.right-t.right,0),top:Math.max(t.top-n.top,0),bottom:e.innerHeight-Math.max(n.bottom-t.bottom,0)}},t}(n(548).IntervalStrategy);t.ViewportStrategy=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFriendlyWindowsChain=void 0;t.getFriendlyWindowsChain=function(e){for(var t=[];e;)try{if((0,n(244).getWindowLocation)(e),t.push(e),e.parent===e)break;e=e.parent}catch(e){break}return t}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.performSafeframeTask=void 0,t.performSafeframeTask=function(e,t){return i=t,new Promise((function(n,r){a.push({message:e,onerror:r,onsuccess:n}),l(t)}))};var i,o,a=[],s="not-inited",c=(0,n(13).once)((function(){(0,n(24).on)(window,"message",(function(e){var t=e&&e.data&&e.data.name;t===n(563).CONFIRM_FRAME_UNLOADED&&(s="not-inited"),t===n(563).CONFIRM_FRAME_READY&&(s="ready",(o=function(){return function(e){try{if(!e.source||!(0,n(3).isFunction)(e.source.postMessage))return s="not-inited",void l(i);for(;a.length>0;){var t=a[a.length-1];e.source.postMessage(t.message,"*"),a.pop().onsuccess()}}catch(e){s="broken",n(15).logger.error(e,"frameTransportAccess"),d()}}(e)})())}))}));function l(e){if("loading"!==s)if("ready"!==s)if("broken"!==s){c(),s="loading";var t=["<scr","ipt>",n(728),"</scr","ipt>"].join("");(0,n(613).callInSafeframe)({html:t,onAction:u,onError:function(){s="not-inited"},nonce:e,wait:36e5})}else d();else o()}function u(e,t){if("error"===e){var i=new Error("PerformSafeframeTaskError");try{var o=n.lv["json"].parse(t);r(i,{name:o.type,message:o.message})}catch(e){}n(15).logger.error(i,"confirmFrameContent",{payload:t},1)}}function d(){(0,n(2).forEach)(a,(function(e){e.onerror()}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAndroidVersion=void 0,t.getAndroidVersion=function(e){void 0===e&&(e=window);var t=e.navigator.userAgent,n=t.indexOf("Android");return-1===n?-1:parseFloat(t.slice(n+8))}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutProvider=t.useLayoutConfig=void 0;var i=n(667);t.useLayoutConfig=(r=(0,i.createCtx)())[0],t.LayoutProvider=r[1]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIfIsAndroid=void 0,t.getIfIsAndroid=function(e){void 0===e&&(e=window);var t=e.navigator.userAgent,r=void 0===t?"":t,i=/Android/.test(r),o=(0,n(714).isWindowsPhone)(e),a=/com\.yandex\.mobile\.metrica\.ads\.sdk.*?Android/.test(r);return i&&!o||a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BUSINESS_AD_URL=void 0,t.BUSINESS_AD_URL="https://yandex.ru/business/?utm_source=yan_banner"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prepareVasLoaderConfig=void 0,t.prepareVasLoaderConfig=function(e){var t=e||(0,n(25).getUaasConfig)();return{additionalCustomRootFields:{pcodeVersion:"".concat((0,n(20).getCodeVersion)()),vsid:n(112).VSID},vasUaasConfig:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SURVEY_INPAGE_PLAYBACK_PARAMETERS=void 0,t.SURVEY_INPAGE_PLAYBACK_PARAMETERS={disableSurveyCompleteScreen:!0,disableSurveyStartTimeout:!0}},function(e,t,n){"use strict";function r(e){return"string"==typeof e}function i(e){return r(e)&&e.length>0}n.r(t),n.d(t,"loadVasModule",(function(){return $n}));var o=n(258);function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Object(o["a"])(t,Boolean);if(0!==r.length)return r.join(";")}function s(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e){if(void 0!==e){if(!r(e))throw new Error("testIdsString is not a string or undefined ["+e+"]");if(0!==e.length){for(var t,n=s(e.split(";"));!(t=n()).done;){var i=t.value.split(",");if(3!==i.length)throw new Error("testIdParts length error ["+e+"]");var o=i[0],a=i[2];if(0===o.trim().length)throw new Error("testId length error ["+e+"]");if(0===a.trim().length)throw new Error("testId bucket length error ["+e+"]")}return e}}}function u(e){if(!e||!e.toString)return!1;var t=Function.prototype.toString.call(e);return/\[native code\]/.test(t)||/\/\* source code not available \*\//.test(t)}var d=!u(Math.random)||Math.random()==Math.random(),p=n(103),f=Date&&Object(p["a"])(Date.now)?function(){return Date.now()}:function(){return(new Date).getTime()},h="undefined"==typeof window?void 0:window.performance,v=h&&Object(p["a"])(h.now),m=h&&h.timing&&h.timing.navigationStart?h.timing.navigationStart:f(),g=0,_=v?function(){return h.now()}:function(){return e=f()-m,g=Math.max(e,g);var e},y=Date.now()*_()%2147483647;var b=d?function(){return((y=16807*y%2147483647)-1)/2147483646}:function(){return Math.random()};function C(e){for(var t="",n=0;n<e;n++)t+=(16*b()|0).toString(16);return t}var O=function(e){return void 0===e&&(e=window),function(e){void 0===e&&(e=window);var t=n(141)(e);return"boolean"==typeof t?-1:t}(e)>11};function E(e){return function(e){return Boolean(e.PointerEvent)}(e)&&function(e){var t=e.navigator||{},n=t.msMaxTouchPoints,r=t.maxTouchPoints;return n||r||0}(e)>0&&!O(e)}var A=function(e,t,n){for(var r=new Array(e.length),i=0;i<e.length;i++)r[i]=t.call(n,e[i],i,e);return r};function I(e){var t=typeof e;return Boolean(e)&&("object"===t||"function"===t)}function S(e,t){if(!Object(p["a"])(e.matchMedia))return!1;var n=e.matchMedia(t);return I(n)&&Boolean(n.matches)}var T=["","-webkit-","-ms-","-moz-","-o-"],w=A(T,(function(e){return"("+e+"any-pointer:coarse)"})).join(",");var R=A(T,(function(e){return"("+e+"touch-enabled)"})).join(",");function P(e){return void 0===e&&(e=window),E(e)||function(e){return S(e,w)}(e)||function(e){return S(e,R)}(e)||function(e){var t=e.DocumentTouch;return Boolean(t)&&e.document instanceof t}(e)||function(e){return"ontouchstart"in e}(e)}function k(e){void 0===e&&(e=window);var t=e.navigator.userAgent.toLowerCase();return/ipad|iphone|ipod/.test(t)&&!e.MSStream&&!function(e){return void 0===e&&(e=window),e.navigator.userAgent.indexOf("UCBrowser")>-1}(e)}var M=function(e){void 0===e&&(e=window);var t=function(e){void 0===e&&(e=window);try{return(e.navigator||{}).userAgent||""}catch(e){return""}}(e).toLowerCase();if(t.indexOf("android")>-1)return!1;var n=t.replace(/\(.+?\)/gi,"").split(" ").map((function(e){return e.trim().split("/")[0]})).filter((function(e){return e&&"mobile"!==e}));return 4===n.length&&"mozilla"===n[0]&&"applewebkit"===n[1]&&"version"===n[2]&&"safari"===n[3]};var L,N=(void 0===L&&(L=window),M(L)||k(L)||function(e){return void 0===e&&(e=window),/Apple/.test(e.navigator.vendor)&&P(e)}(L));function D(e,t){if(void 0===t&&(t=!0),N&&t)return[];for(var n=[],r=e;;)try{if(!(r=r.ownerDocument.defaultView.frameElement))return n;n.push(r)}catch(e){return n}}var B=D(document.documentElement),x=B.length,j=x>0?B[x-1].ownerDocument.defaultView:window;!function(e){for(var t=e,n=[e],r=e.top;t!==r;)t=t.parent,n.push(t)}(window);function F(e){var t=typeof e;return Boolean(e)&&("object"===t||"function"===t)}var U=function(e,t){e.__AD_SDK_SCRIPT_SESSION_PARAMETERS__=t},V=n(480),z=[].find,H=Object(V["a"])(z)?function(e,t){return z.call(e,t)}:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r,n,e))return r}},G=document.currentScript;if(!G){var W=function(e){if(!e)return[];for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t}(document.getElementsByTagName("script"));(G=H(W,(function(e){return F(e.__AD_SDK_SCRIPT_SESSION_PARAMETERS__)})))||(G=W[W.length-1])}var K=G;K&&K.src;function Y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Z(e,t,n){for(var r in e)Y(e,r)&&t.call(n,e[r],r,e)}function q(e){if(e&&e.location){var t=e.location;return"function"==typeof t.toString?t.toString():t.href||""}return""}var X=function(e){for(var t=[];e;)try{if(q(e),t.push(e),e.parent===e)break;e=e.parent}catch(e){break}return t};function $(e){var t=D(e.documentElement).map((function(e){return e.ownerDocument}));return t.unshift(e),t.map((function(e){return{location:q(e.defaultView),referrer:e.referrer}}))}var Q=n(312);var J=function(e,t){var n=e[t];if(!u(n)){var r=n;try{delete e[t];var i=e[t];"function"==typeof i&&(n=i),e[t]=r}catch(e){}}return n}(Array,"isArray"),ee=(Boolean(J),function(){function e(e){this.cache=e}var t=e.prototype;return t.get=function(e){return this.cache[e]},t.has=function(e){return e in this.cache},t.set=function(e,t){this.cache[e]=t},e}()),te=document.createElement("a");function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}oe=function(e){return re({},le(e))},void 0===ae&&(ae=function(e){return e}),void 0===se&&(se=new ee({}));var oe,ae,se,ce=/^(android-app:|chrome-extension:)/;function le(e){te.href=e;var t=te.pathname||"";"/"!==t.charAt(0)&&(t="/"+t);var n=(te.search||"")+(te.hash||""),r=e.lastIndexOf(n),i=-1===r?e:e.slice(0,r);if(ce.test(e)){var o=le(e.replace(ce,"https:"));return te.href=e,re({},o,{originalPath:i,protocol:e.slice(0,e.indexOf(":")+1),href:te.href})}var a=te.protocol&&/^[a-z\-]+:/i.test(te.protocol)?te.protocol:"";return{originalPath:i,href:te.href,protocol:a,host:te.host,hostname:te.hostname,port:te.port,pathname:t,search:te.search,hash:te.hash}}var ue=function(e){try{return decodeURIComponent(e)}catch(t){return e}};function de(e){for(var t={},n=e.replace(/^[?#]+/,"").replace(/#.*$/,"").split("&"),r=0;r<n.length;r++){var i=n[r].indexOf("="),o=void 0,a=void 0;if(-1===i?(o=ue(n[r]),a=""):(o=ue(n[r].slice(0,i)),a=n[r].slice(i+1)),o){var s=Boolean(/(\[\])$/.exec(o));o=o.replace(/\[\]$/,""),s?void 0===t[o]?t[o]=[ue(a)]:t[o]=[].concat(t[o],ue(a)):t[o]=ue(a)}}return t}var pe;function fe(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function he(e){if("function"==typeof Object.keys)return Object.keys(e);var t=[];for(var n in e)fe(e,n)&&t.push(n);return t}var ve=((pe={adsdkver:0,adsdkdebug:0,adsdknovastconvertation:0,adsdkmotionoldanimation:0,adsdkecmaver:0,adsdktracelogs:0,adsdksecuremode:0,adsdkwithcredentials:0,adsdkabflags:0,adsdkuaas:0})["aim-banner-id"]=0,pe["aim-design-id"]=0,pe["aim-design-name"]=0,pe["aim-subdesign-id"]=0,pe.adsdkhoneypotforced=0,pe.adsdkgrforced=0,pe);he(ve);function me(e,t){try{return e()}catch(e){"function"==typeof t&&t(e)}}var ge=n(560);function _e(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ye(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}for(var be,Ce={},Oe=_e($(document));!(be=Oe()).done;){var Ee=be.value.location;Z(de(le(Ee).search),(function(e,t){0===ve[t]&&(Ce[t]=e)}))}function Ae(e,t){for(var n,r,o={UrlParams:function(){return Ce[t]},SessionStorage:function(){return e.sessionStorage.getItem(t)},LocalStorage:function(){return e.localStorage.getItem(t)},GlobalVariable:function(){for(var n,r,i,o=_e(X(e));!(i=o()).done;){var a=null===(r=null===(n=i.value.Ya)||void 0===n?void 0:n.hardcodedParams)||void 0===r?void 0:r[t];if(a)return String(a)}}},a=_e(function(e){return"function"==typeof Object.entries?Object.entries(e):Object(ge["a"])(he(e),(function(t){return[t,e[t]]}))}(o));!(n=a()).done;){var s=n.value,c=s[0],l=me(s[1]);if(i(l))return r="VAS WARNING! Hardcoded parameter=["+t+"] with value=["+l+"] found in ["+c+"]",F(console)&&Object(p["a"])(console.warn)&&console.warn(r),l}}var Ie=Ae(window,"adsdkdebug"),Se=Boolean(Ie),Te=Ae(window,"adsdktracelogs"),we=(Boolean(Te),"undefined"==typeof BUNDLES_PATH?"":BUNDLES_PATH),Re="undefined"==typeof BUNDLE_NAME?"Test":BUNDLE_NAME;"undefined"==typeof BUILD_TIME||BUILD_TIME;function Pe(){}var ke=Pe,Me=Pe,Le=Pe;function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){Be(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=function(e){var t=e.win,n=e.propertyName;return{call:function(e){return ke(De({win:t,propertyName:n},e))},subscribe:function(e){return Le(De({win:t,propertyName:n},e))},wait:function(e){return function(e){var t=e.propertyName,n=e.win;return new Promise((function(e){Le({callback:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e(n)},propertyName:t,win:n})}))}(De({win:t,propertyName:n},e))},waitUntil:function(e){return function(e){var t=e.propertyName,n=e.win,r=e.comparator;return new Promise((function(e){Le({propertyName:t,win:n,callback:function(){r.apply(void 0,arguments)&&e()}})}))}(De({win:t,propertyName:n},e))},clear:function(e){return Me(De({win:t,propertyName:n},e))}}};xe({propertyName:"DEBUG_LOG_GLOBAL_CALLBACK_PROPERTY_NAME",win:window});function je(e){var t;var n=(j||window).console;if(Se&&void 0!==n){var r="AdSDKJS["+Re+"]:";0,null===(t=n.log)||void 0===t||t.call(n,r,e)}}var Fe=K?K.__AD_SDK_SCRIPT_SESSION_PARAMETERS__:void 0;K&&function(e){delete e.__AD_SDK_SCRIPT_SESSION_PARAMETERS__}(K);var Ue=null==Fe?void 0:Fe.SID,Ve=null==Fe?void 0:Fe.VSID,ze=(null==Fe||Fe.ICOOKIE,null==Fe||Fe.LOADER_LOADED_FROM_AN_YANDEX_RU,null==Fe||Fe.TEST_IDS,null==Fe?void 0:Fe.VAS_UAAS_CONFIG),He=(null==Fe||Fe.AB_FLAGS,null==Fe||Fe.AB_FLAGS_STORE,null==Fe||Fe.AdditionalStatsRootFields,null==Fe?void 0:Fe.VAS_USER_SESSION_RANDOM),Ge=(null==Fe||Fe.RUM_WRAPPER,Ue||C(64));je((Ue?"Use existing SID":"Generate new SID")+" ["+Ge+"]");var We,Ke=null!=He?He:b(),Ye=function(e){var t;return{rootFields:me((function(){return function(e){var t,n,r=null===(n=null===(t=null==e?void 0:e.ya)||void 0===t?void 0:t.videoAd)||void 0===n?void 0:n.statsRootParams;if(F(r)){var o={},a=r.vsid,s=r.contentPlayerVersion,c=r.pcodeVersion,l=r.widgetVersion;if(i(a)&&(o.vsid=a),i(s)&&(o.contentPlayerVersion=s),i(c)&&(o.pcodeVersion=c),i(l)&&(o.widgetVersion=l),he(o).length>0)return o}}(e)}),(function(e){t=e}))||void 0,extractionError:t}}(window),Ze=Ye.rootFields;Ye.extractionError;function qe(e,t,n){void 0===n&&(n=" ");var r=t-e.length;if(r>0){for(var i=n;i.length<r;)i+=i;return(i.length>r?i.substr(0,r):i)+e}return e}try{We=VERSIONS_CONFIG}catch(e){We={}}var Xe,$e=We.build,Qe="VAS",Je=function(e){return qe(String(e%Math.pow(10,4)),4,"0")},et=(null==Ze?void 0:Ze.vsid)||Ve||(void 0===Xe&&(Xe=$e),[C(44),Qe,Je(Xe),qe(Date.now().toString().slice(0,10),10,"0")].join("x"));je((Ve?"Use VSID from session":"Generate new VSID")+" ["+et+"]");var tt,nt=function(e){return e instanceof Error||"Error"===Object(Q["a"])(e)};function rt(e){var t,n,i,o;return function(e){return void 0===e&&(e=window),void 0===tt&&(tt=e.JSON),tt}().stringify(e,(t=[],i="undefined"==typeof WeakMap?void 0:new WeakMap,o=[],n={set:function(e,t){if(void 0!==i)try{i.set(e,t)}catch(n){o.push({path:t,value:e})}else o.push({path:t,value:e})},get:function(e){var t=H(o,(function(t){return t.value===e}));return void 0!==i&&void 0===t?i.get(e):t?t.path:void 0}},function(e,i){if(Object(p["a"])(i))return r(i.name)?i.name:"[Function]";if(nt(i))return{name:(o=i).name,message:o.message,stack:o.stack};var o;if(!F(i))return i;var a=n.get(i);if(a)return"[Circular "+a+"]";for(;t.length>0&&t[t.length-1].value[e]!==i;)t.pop();var s=(t.length>0?t[t.length-1].path:"")+(e?"/"+e:"~");return t.push({path:s,value:i}),n.set(i,s),i}))}function it(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ot(e){var t="function"==typeof Map?new Map:void 0;return(ot=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return at(e,arguments,lt(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ct(n,e)})(e)}function at(e,t,n){return(at=st()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&ct(i,n.prototype),i}).apply(null,arguments)}function st(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lt(e){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ut="DEFAULT_ERROR_MESSAGE",dt=0,pt="",ft="?:?:?",ht=!0,vt=function(e){var t,r;r=e,(t=a).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var i;i=a;function a(t,r){var i;void 0===r&&(r={});var s,c="object"==typeof t?t:{message:String(t||ut)};i=e.call(this)||this,Object.defineProperty(it(i),"message",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(it(i),"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(it(i),"isFatal",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(it(i),"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(it(i),"stack",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(it(i),"toString",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(it(i),"toJSON",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),n(496)(it(i),a.prototype),i.message=r.message||c.message||ut,i.code=r.code||c.code||c.id||dt,i.isFatal=Boolean((s=[r.isFatal,c.isFatal,ht],Object(o["a"])(s,(function(e){return void 0!==e}))[0])),i.details=r.details||c.details||pt;var l=r.stack||c.stack||function(e){var t=e.url,n=e.line,r=e.col,i=e.fileName,o=e.columnNumber,a=e.lineNumber;return(t||i||"?")+":"+(n||a||"?")+":"+(r||o||"?")}(c),u=l===ft?i.stack:l;if(u&&u!==ft)i.stack=u;else if(!i.stack)try{throw new Error(i.message)}catch(e){i.stack=u=e.stack||ft}return i.toString=function(){return rt(i.toJSON())},i.toJSON=function(){return{message:i.message,code:i.code,isFatal:i.isFatal,details:i.details,stack:u}},i}return a}(ot(Error));function mt(){return(mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var gt=function(e){var t,n;n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r;r=i;function i(t,n){void 0===t&&(t={}),void 0===n&&(n={});var r=n.message||t.message,i=n.code||t.code;return e.call(this,t,mt(mt({},n),{message:"AdSDK Error ["+i+"]"+(r?"["+r+"]":"")}))||this}return i}(vt),_t=n(555),yt=function(e){var t=new _t["Latch"];return{promise:new Promise((function(n,r){e({resolve:n,reject:r,subscribeForTeardown:function(e){t.subscribe(e)}})})),teardown:function(){return t.dispatch(void 0)}}},bt=n(457),Ct=Ae(window,"adsdkuaas"),Ot=n(313),Et=n(481);function At(){return(At=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var It=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},St={testIds:"",flags:{}};var Tt=Object(bt["a"])((function(){try{return null!=Ct?Ct:__UAAS_CFG__}catch(e){return e}})),wt=function(e){if(nt(e))return{error:e,config:St};try{var t=F(e)?e:n.lv["json"].parse(""+(e||"")),r=function(e){return!!F(e)&&!(!("expFlags"in e)||!Object(Et["a"])(e.expFlags))}(t)?function(e){e.expFlags;var t=It(e,["expFlags"]),n={},r={};return Object(Ot["a"])(e.expFlags,(function(e){Object(Ot["a"])(e,(function(e){var t=e.CONTEXT.FLAGS,i=e.TESTID;F(t)&&Object(Ot["a"])(he(t),(function(e){var o,a=t[e];n[e]=a,r[e]=null!==(o=r[e])&&void 0!==o?o:[],r[e].push({value:a,testId:i[0]})}))}))})),At({flags:n,flagsMap:r},t)}(t):t;if(!function(e,t){if(!F(t))throw new Error("Parsed replaced macro is not an object: "+e);if(l(t.testIds),!("flags"in t)||!F(t.flags))throw new Error("Parsed replaced macro has no flags field: "+e);return!0}(String(e),r))throw new Error("UAAS config is not valid: "+e);return{error:void 0,config:r}}catch(e){return{error:e,config:St}}},Rt=Object(bt["a"])((function(){return wt(Tt())})),Pt=ze||St;try{var kt=Rt();if(kt.error)throw kt.error;Pt=kt.config}catch(e){e}var Mt=Pt;function Lt(e){var t="",n="";e&&$(e).reverse().forEach((function(e){var r=e.location,i=e.referrer;t=t||r,n=n||i}));return{location:t,referrer:n}}function Nt(e){var t=function(){var n;return t=function(){return n},n=e.apply(this,arguments)};return function(){return t.apply(this,arguments)}}function Dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xt(e){var t=e.method,n=e.url,r=e.async,i=void 0===r||r,o=e.data,a=e.responseType,s=void 0===a?"text":a,c=e.onBeforeSend,l=void 0===c?Pe:c,u=e.onRetry,d=void 0===u?Pe:u,p=e.checkStatus,f=void 0===p?function(e){return 200===e}:p,h=e.headers,v=void 0===h?{}:h,m=e.xhrConstructor,g=void 0===m?XMLHttpRequest:m,_=e.retries,y=void 0===_?0:_,b=e.timeout,C=void 0===b?0:b,O=e.withCredentials,E=e.onAbort,A=e.onSetup;if(g){var I,S=e.onSuccess?Nt(e.onSuccess):Pe,T=e.onError?Nt(e.onError):Pe,w=!1,R=0,P=function(e){w=!0,P=Pe,I=e,k(new Error("Abort request")),"function"==typeof E&&E(e)},k=function(t){if(M.onerror=null,M.onreadystatechange=null,R&&clearTimeout(R),R&&4!==M.readyState||w)try{M.abort()}catch(t){}if(!w)if(y>0){var n=d(t,M);if("boolean"!=typeof n||Boolean(n)||P(),w)return;xt(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(n),!0).forEach((function(t){Bt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{onSetup:function(e){var t=e.abort;P=function(e){return t(e)},w&&t(I)},retries:y-1}))}else P=Pe,T(t,M)},M=new g;try{M.open(t,n,i)}catch(e){return void k(e)}if(M.responseType=s,M.withCredentials=Boolean(O),Z(v,(function(e,t){try{M.setRequestHeader(t,e)}catch(e){}})),C>0&&isFinite(C)&&(R=window.setTimeout((function(){k(new Error("Request timeout, "+n))}),C)),M.onerror=k,M.onreadystatechange=function(){if(4===M.readyState){var e=M.status;f(e)?(P=Pe,clearTimeout(R),S(M)):k(new Error("Invalid request status "+e+", "+n))}},!("function"==typeof A&&(A({abort:function(e){return P(e)}}),w)||(l(M,e),w)))try{M.send(o)}catch(e){k(e)}}}var jt=function(e){return u(e.navigator.sendBeacon)},Ft=jt(window);xe({propertyName:"YANDEX_STATS_GLOBAL_CALLBACK_PROPERTY_NAME",win:window});function Ut(){return(Ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Vt=function(){function e(e){var t=this,n=e.defaultProbability,r=e.rnd,i=e.vsid;Object.defineProperty(this,"rnd",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"vsid",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"defaultProbability",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"error",{enumerable:!0,configurable:!0,writable:!0,value:function(e){var n=e.error,r=e.getTagsAndLabels;t.push({eventName:String(n.code),eventType:"error",eventData:n,probability:1,getTagsAndLabels:r})}}),this.rnd=r,this.vsid=i,this.defaultProbability=n}var t=e.prototype;return t.event=function(e){var t=e.name,n=e.probability,r=e.data,i=e.getTagsAndLabels;this.push({eventType:"event",eventName:t,probability:n,eventData:r,getTagsAndLabels:i})},t.push=function(e){var t=e.eventType,r=e.eventName,i=e.probability,o=void 0===i?this.defaultProbability:i,a=e.eventData,s=e.getTagsAndLabels;if(this.rnd<o){var c,l="https://log.strm.yandex.ru/log?"+t+"="+r,u="function"==typeof s?s(t,r):{tags:{},labels:{}},d=u.tags,p=u.labels,f=n.lv["json"].stringify({service:"VAS",eventType:t,eventName:r,rnd:this.rnd,vsid:this.vsid,data:a,tags:Ut((c={},c[t+"_"+r]=1,c),d),labels:Ut({},p),topLocation:Lt(document).location});if(function(e,t){return!!Ft&&window.navigator.sendBeacon(e,t)}(l,f))return;xt({url:l,data:f,method:"POST"})}},e}();function zt(){return(zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ht,Gt=Se||Mt.isInternalNetwork||!1?1:.05;!function(e){e["LOAD_SCRIPT_ERROR"]="LOAD_SCRIPT_ERROR",e["STATS_SENSOR_NAME_ERROR"]="STATS_SENSOR_NAME_ERROR",e["STATS_LABEL_KEY_ERROR"]="STATS_LABEL_KEY_ERROR",e["STATS_LABEL_VALUE_ERROR"]="STATS_LABEL_VALUE_ERROR"}(Ht||(Ht={}));var Wt,Kt=[].find,Yt=u(Kt)?function(e,t){return Kt.call(e,t)}:function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r,n,e))return r}};function Zt(e){if(e){var t=e.parentElement;t&&t.removeChild(e)}}var qt=function(e){void 0===e&&(e=document.body);var t=function(e){var t=function(e,t){var n=void 0===t?{}:t,r=n.content,i=n.size,o=e.ownerDocument.createElement("iframe");o.scrolling="no",o.setAttribute("allowfullscreen",""),o.style.display="block",i&&(o.height=i.height,o.width=i.width),e.appendChild(o);var a=o.contentDocument;return a.open(),r&&a.write(r),a.close(),a.body.style.margin="0",o.style.borderWidth="0",o}(e);return t.width="0",t.height="0",t.style.position="absolute",t}(e);return{JSON:t.contentWindow.JSON,clean:function(){return function(e){e.src="",Zt(e)}(t)}}};function Xt(e){return void 0===e&&(e=window),void 0===Wt&&(Wt=function(e){void 0===e&&(e=window);return e.JSON&&u(e.JSON.stringify)&&u(e.JSON.parse)}(e)?e.JSON:{stringify:$t("stringify"),parse:$t("parse")}),Wt}var $t=function(e){return function(t){var n=qt(),r=n.JSON,i=n.clean;try{return r[e](t)}finally{i()}}};function Qt(e){var t,n,i,o;return Xt().stringify(e,(t=[],i="undefined"!=typeof WeakMap?new WeakMap:void 0,o=[],n={set:function(e,t){if(void 0!==i)try{i.set(e,t)}catch(n){o.push({path:t,value:e})}else o.push({path:t,value:e})},get:function(e){var t=Yt(o,(function(t){return t.value===e}));return void 0!==i&&void 0===t?i.get(e):t?t.path:void 0}},function(e,i){if(Object(p["a"])(i))return r(i.name)?i.name:"[Function]";if(!I(i))return i;var o=n.get(i);if(o)return"[Circular "+o+"]";for(;t.length>0&&t[t.length-1].value[e]!==i;)t.pop();var a=(t.length>0?t[t.length-1].path:"")+(e?"/"+e:"~");return t.push({path:a,value:i}),n.set(i,a),i}))}var Jt="DEFAULT_ERROR_MESSAGE",en=0,tn="",nn="?:?:?",rn=!0;function on(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function an(e){var t="function"==typeof Map?new Map:void 0;return(an=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return sn(e,arguments,un(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ln(n,e)})(e)}function sn(e,t,n){return(sn=cn()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&ln(i,n.prototype),i}).apply(null,arguments)}function cn(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ln(e,t){return(ln=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function un(e){return(un=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var dn=function(e){var t,r;r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var i;i=o;function o(t,r){var i;void 0===r&&(r={});var a="object"==typeof t?t:{message:String(t||Jt)};i=e.call(this)||this,n(496)(on(i),o.prototype),i.message=r.message||a.message||Jt,i.code=r.code||a.code||a.id||en,i.isFatal=Boolean(function(e,t,n){for(var r=[],i=0;i<e.length;i++){var o=e[i];t.call(n,o,i,e)&&r.push(o)}return r}([r.isFatal,a.isFatal,rn],(function(e){return void 0!==e}))[0]),i.details=r.details||a.details||tn;var s=r.stack||a.stack||function(e){var t=e.url,n=e.line,r=e.col,i=e.fileName,o=e.columnNumber,a=e.lineNumber;return(t||i||"?")+":"+(n||a||"?")+":"+(r||o||"?")}(a),c=s===nn?i.stack:s;if(c&&c!==nn)i.stack=c;else if(!i.stack)try{throw new Error(i.message)}catch(e){i.stack=c=e.stack||nn}return i.toString=function(){return Qt(i.toJSON())},i.toJSON=function(){return{message:i.message,code:i.code,isFatal:i.isFatal,details:i.details,stack:c}},i}return o}(an(Error));function pn(e){var t=e.document,n=t.getElementsByTagName("head")[0];return n||(n=t.createElement("head"),t.documentElement.appendChild(n)),n}function fn(e,t){void 0===e&&(e="a"),void 0===t&&(t="z");var n,r,i,o=(n=e.charCodeAt(0),r=t.charCodeAt(0),i=n+b()*(r+1-n),i=Math.floor(i));return String.fromCharCode(o)}function hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach((function(t){mn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gn=function(e){return!0};function _n(e){var t=e.dropCacheOnRetry,n=void 0!==t&&t,r=e.onBeforeLoad,i=void 0===r?Pe:r,o=e.retries,a=void 0===o?0:o;if(!e.checkLoad||!e.checkLoad()){var s=i,c=0;return n&&a>0&&(s=function(e){if(i(e),c>0){var t=-1===e.src.indexOf("?")?"?":"&",n=function(e){for(var t=[],n=0;n<e;n++)t.push(fn());return t.join("")}(4);e.src+=t+n}c++}),function e(t){var n=t.src,r=t.win,i=void 0===r?window:r,o=t.charset,a=void 0===o?"utf-8":o,s=t.async,c=void 0===s||s,l=t.retries,u=void 0===l?0:l,d=t.onRetry,p=void 0===d?Pe:d,f=t.retryDelay,h=void 0===f?0:f,v=t.checkLoad,m=void 0===v?gn:v,g=t.onBeforeLoad,_=void 0===g?Pe:g,y=t.onLoad,b=void 0===y?Pe:y,C=t.onError,O=void 0===C?Pe:C,E=i.document.createElement("script"),A=function(r){u>0?(p(r),e(vn({},t,{src:n,retries:u-1}))):O(r),Zt(E)};E.type="text/javascript",E.async=c,E.onload=function(){return m(E)?b():A(new Error("checkLoad for "+n+" failed"))},E.onerror=function(e){try{i.setTimeout((function(){A(e)}),h)}catch(e){}},E.src=n,E.charset=a,_(E),pn(i).appendChild(E)}(vn({},e,{onBeforeLoad:s}))}e.onLoad&&e.onLoad()}function yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cn(e){var t=e.win,n=void 0===t?window:t,r=e.src,i=e.retries,o=void 0===i?0:i,a=e.onError,s=void 0===a?Pe:a,c=new dn({id:Ht.LOAD_SCRIPT_ERROR,message:"Failed to load script ["+r+"]",details:{src:r,isSelfWindow:n===window,onBeforeLoad:Boolean(e.onBeforeLoad),retries:o}});_n(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yn(Object(n),!0).forEach((function(t){bn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{win:n,onError:function(){return s(c)}}))}function On(e){if(e){var t=e.parentElement;t&&t.removeChild(e)}}var En=n(186);function An(e){return"number"==typeof(t=e)&&isFinite(t)&&Math.floor(e)===e;var t}function In(e){return"number"==typeof(t=e)&&isFinite(t)&&t>0&&An(e);var t}var Sn=function(e){var t,n,r,i=null===(r=null===(n=null===(t=e.ya)||void 0===t?void 0:t.videoAd)||void 0===n?void 0:n.getBundleVersion)||void 0===r?void 0:r.call(n),o=parseInt(null!=i?i:"",10);if(In(o))return o};var Tn=function(e){var t,n,r=wt(e),o=r.error,a=r.config;if(!o){var s=a.flags,c=null!==(t=s["ADSDKVER"])&&void 0!==t?t:s["VAS_STABLE_VERSION"],l=i(c)?parseInt(c,10):void 0;if("number"==typeof(n=l)&&isFinite(n)&&n>=0)return{resolveType:"UAAS Config",version:l,parsedUaasConfig:a,parseUaasConfigError:void 0}}return{resolveType:"none",version:void 0,parsedUaasConfig:void 0,parseUaasConfigError:o}},wn=function(e){return function(e){try{if("noModule"in e.HTMLScriptElement.prototype)return!0}catch(e){}return!1}(e)&&jt(e)}(window),Rn=(""+Ae(window,"adsdkecmaver")).toUpperCase(),Pn="ES2017"===Rn||"ES5"===Rn?Rn:void 0,kn="ES2017"===Pn?"ES2017":"ES5"===Pn?"ES5":wn?"ES2017":"ES5";function Mn(e,t,n){var r,i,o,a,s,c,l,u=null===(o=null===(i=null===(r=n.ya)||void 0===r?void 0:r.videoAd)||void 0===i?void 0:i.loadedModules)||void 0===o?void 0:o[e];return u||(void 0!==t?null===(l=null===(c=null===(s=null===(a=n.ya)||void 0===a?void 0:a.videoAd)||void 0===s?void 0:s.modules)||void 0===c?void 0:c[t])||void 0===l?void 0:l[e]:void 0)}function Ln(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return Nn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nn(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function Nn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Dn=function(e,t){for(var n,r=Ln(t.split("."));!(n=r()).done;){var i=n.value;if(!I(e)){e=void 0;break}e=e[i]}return e},Bn="__ADB_CONFIG__",xn=I(Bn)&&Bn.fn&&Object(p["a"])(Bn.fn.encodeUrl)?Bn.fn.encodeUrl:void 0,jn=void 0!==xn?function(e){return xn(e)}:void 0,Fn={ES5:"bundles",ES2017:"bundles-es2017"};function Un(){return(Un=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Vn=Un(Un({},{InPage:"inpage",AdLoader:"loader",VideoBannerAd:"videobannerad",Multiroll:"multiroll",YaMusicAPI:"ya-music-api",VpaidPlayer:"vpaid_player",Rum:"rum"}),{MotionTGO:"motion_ad_creative",MotionTailor:"motion_tailor_ad_creative",InteractiveElementsAdCreative:"interactive_elements_ad_creative",Survey:"survey_ad_creative"}),zn=["aw","ap","s-a","d-sd","k-j","s"].join(""),Hn=(["a","n.ya","nd","ex.ru"].join(""),["y","a","nde","x.ru"].join(""),["ya","sta","tic.net"].join("")),Gn=(["ver","ify.y","a","nde","x.ru"].join(""),"https://"+Hn+"/"+zn+"-bundles/");function Wn(e){return we||function(e){return Gn+"1.0-"+e+"/"}(e)}var Kn=function(e){var t=e.bundleName,n=e.win,r=e.ecmaVersion,i=e.version,o=Fn[r],a=function(e){if(void 0===e&&(e=window),jn)return jn;for(var t=X(e);t.length;){var n=t.pop();if(n){var r=Dn(n,"ya.videoAd.encodeUrl");if(Object(p["a"])(r))return r}}}(n),s=Vn[t]+".bundle.js",c=""+Wn(i)+o+"/"+s;return Object(p["a"])(a)?a(c):c};function Yn(e){return function(e){var t=e.src,n=e.win,r=e.onBeforeLoad,i=void 0===r?En["a"]:r,o=new vt({}),a=En["a"];return{promise:new Promise((function(e,r){var s=n.document.createElement("script"),c=!1;a=function(){c=!0,On(s)};s.type="text/javascript",s.async=!0,s.onload=function(){c||e()},s.onerror=function(e){c||(r(new vt(o,{message:"Failed to load script ["+t+"]",details:{src:t,isSelfWindow:n===window,event:e}})),a())},s.src=t,s.charset="utf-8",i(s),pn(n).appendChild(s)})),teardown:a}}(e)}function Zn(){return(Zn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var qn=function(e){var t=e.win,n=e.moduleName,r=e.vasLoaderUrl,i=e.scriptSessionParams,o=e.resolve,a=e.reject,s=e.subscribeForTeardown,c=e.loaderFunctionsStatsWrapper,l=function(e){var t=e.win,n=e.vasLoaderUrl,r=e.scriptSessionParams,i=Sn(t);if(void 0!==i)return{promise:Promise.resolve({resolveType:"Preloaded Loader",version:i,loadTry:void 0}),teardown:En["a"]};var o=yt((function(e){var i=e.resolve,o=e.reject,a=e.subscribeForTeardown,s=!1,c=0;a((function(){s=!0})),Cn({src:n,win:t,retries:3,dropCacheOnRetry:!0,onBeforeLoad:function(e){c++,U(e,r),s?On(e):a((function(){On(e)}))},onLoad:function(){return i({loadTry:c})},onError:function(e){return o(e)}})})),a=o.promise,s=o.teardown;return{promise:a.then((function(e){var n=e.loadTry,r=Sn(t);return void 0===r?{resolveType:"none",version:void 0,loadTry:void 0}:{resolveType:"Loaded Loader",version:r,loadTry:n}})),teardown:s}}({vasLoaderUrl:r,win:t,scriptSessionParams:i}),u=l.promise,d=l.teardown;s(d),u.then((function(e){if(void 0===e.version)c.error({error:new gt({code:"LOAD_VAS_MODULE_CANNOT_RESOLVE_VERSION",details:{}})}),a(new gt({code:"VAS_LOADER_FUNCTION_CANNOT_RESOLVE_VERSION",details:{}}));else{var r=function(e){var t,n,r=e.win,i=e.moduleName,o=null===(n=null===(t=r.ya)||void 0===t?void 0:t.videoAd)||void 0===n?void 0:n.loadModule;return"function"==typeof o?yt((function(e){var t=e.resolve,n=e.reject,r=e.subscribeForTeardown,a=o(i);r((function(){return n(new Error("Teardown was called"))})),a.then(t)["catch"](n)})):{promise:Promise.reject(new gt({code:"VAS_LOADER_FUNCTION_NO_GLOBAL_LOAD_MODULE_FN",details:{}})),teardown:En["a"]}}({win:t,moduleName:n}),i=r.promise,l=r.teardown;s(l),i.then(o)["catch"](a)}}))["catch"](a)},Xn=function(e){var t=e.version,n=e.win,r=e.moduleName,i=e.vasLoaderUrl,o=e.scriptSessionParams,a=e.resolve,s=e.reject,c=e.subscribeForTeardown,l=e.loaderFunctionsStatsWrapper,u=function(e){var t=e.moduleName,n=e.version,r=e.win,i=e.scriptSessionParams,o=Mn(t,n,r);if(o)return{promise:Promise.resolve(o),teardown:En["a"]};var a=Yn({src:Kn({version:n,bundleName:t,win:r,ecmaVersion:kn}),win:r,onBeforeLoad:function(e){(function(e){e.crossOrigin="anonymous"})(e),U(e,i)}}),s=a.promise,c=a.teardown;return{promise:s.then((function(){return Mn(t,n,r)})),teardown:c}}({moduleName:r,scriptSessionParams:o,version:t,win:n}),d=u.promise,p=u.teardown,f=!1;c((function(){return f=!0})),c(p),d.then(a)["catch"]((function(e){f?s(e):qn({vasLoaderUrl:i,win:n,moduleName:r,scriptSessionParams:o,resolve:a,reject:s,subscribeForTeardown:c,loaderFunctionsStatsWrapper:l})}))},$n=function(e){var t,n,r,o,s,c,u=e.win,d=e.config,p=d.vasUaasConfig,f=d.additionalCustomRootFields,h=d.vh_sid,v=e.moduleName,m=e.vasLoaderUrl,g=e.serviceName,_=e.serviceVersion,y=null!==(t=null==f?void 0:f.vsid)&&void 0!==t?t:et,b=function(e){var t=e.serviceName,n=e.serviceVersion,r=e.vsid,i=new Vt({rnd:Ke,vsid:r,defaultProbability:Gt}),o=function(e,r){var i,o=t||"unknown",a=n||"unknown";return{tags:(i={},i[e+"_"+r+"_"+o+"_"+a]=1,i),labels:{version:"loadVasModule_"+o+"_"+a}}};return{event:function(e){return i.event(zt({getTagsAndLabels:o},e))},error:function(e){return i.error(zt({getTagsAndLabels:o},e))}}}({serviceName:g,serviceVersion:_,vsid:y}),C=Tn(p);p?C.parseUaasConfigError?b.error({error:new gt({code:"LOAD_VAS_MODULE_PARSE_UAAS_CONFIG_ERROR",details:{message:C.parseUaasConfigError.message,vasUaasConfig:p}})}):void 0===(null===(r=null===(n=C.parsedUaasConfig)||void 0===n?void 0:n.flags)||void 0===r?void 0:r.VAS_STABLE_VERSION)&&b.error({error:new gt({code:"LOAD_VAS_MODULE_NO_VAS_STABLE_VERSION_IN_AB_FLAGS",details:{vasUaasConfig:p}})}):b.event({name:"LoadVasModule_NoUAAS",data:{}});var O=Zn({},f),E=i(h)?h:void 0;!i(O.vh_sid)&&E&&(O.vh_sid=E);var A=me((function(){return l(null==O?void 0:O.testIds)}),(function(e){b.error({error:new gt({code:"LOAD_VAS_MODULE_INVALID_TEST_IDS",details:{message:e.message}})})})),I=null===(o=C.parsedUaasConfig)||void 0===o?void 0:o.testIds,S=null!=E?E:Ge,T={AB_FLAGS:null!==(c=null===(s=C.parsedUaasConfig)||void 0===s?void 0:s.flags)&&void 0!==c?c:{},ICOOKIE:null==p?void 0:p.iCookie,TEST_IDS:a(A,I),VAS_UAAS_CONFIG:C.parsedUaasConfig,AdditionalStatsRootFields:O,VSID:y,SID:S,VAS_USER_SESSION_RANDOM:Ke,RUM_WRAPPER:void 0,LOADER_LOADED_FROM_AN_YANDEX_RU:void 0};return yt((function(e){var t=e.resolve,n=e.reject,r=e.subscribeForTeardown,i=function(e){b.event({name:"LoadVasModule_ModuleLoaded",probability:Gt,data:{bundleName:v}}),t(e)};C.version?Xn({version:C.version,vasLoaderUrl:m,win:u,moduleName:v,scriptSessionParams:T,resolve:i,reject:n,subscribeForTeardown:r,loaderFunctionsStatsWrapper:b}):qn({vasLoaderUrl:m,win:u,moduleName:v,scriptSessionParams:T,resolve:i,reject:n,subscribeForTeardown:r,loaderFunctionsStatsWrapper:b})}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeStyleProp=void 0;var r={};t.normalizeStyleProp=function(e){return void 0===e&&(e=""),r[e]||function(e){for(var t="".concat(e[0].toUpperCase()).concat(e.slice(1)),i=0;i<n(111).prefixes.length;i++){var o=n(111).prefixes[i],a=o?"".concat(o).concat(t):e;if((0,n(545).isCssPropSupported)(a))return r[e]=a}return r[e]=e}(e)}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getTestDiv=void 0;t.getTestDiv=function(e){return void 0===e&&(e=window),r||(r=e.document.createElement("div")),r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DisplayStrategy=void 0;var r=n(543),i=n(547),o=n(670),a=function(){function e(){}return e.factory=function(e){return r.AllOfStrategy.from(o.ViewportStrategy.factory,i.OverlayStrategy.factory)(e)},e}();t.DisplayStrategy=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOverlapped=void 0,t.isOverlapped=function(e,t){var r=(0,n(34).getBoundingClientRect)(e),i=r.left,o=r.top,a=r.width,s=r.height;return!(0,n(58).some)(t,(function(t){var r=t[0],c=t[1],l=i+(a-1)*(1+r)/2,u=o+(s-1)*(1+c)/2,d=document.elementFromPoint(l,u);if(!d||e===d||e.contains(d))return!0;if((0,n(3).isFunction)(e.getRootNode)){if(function e(t,n){var r=t.getRootNode();if(!r||!r.host)return!1;if(n.contains(r.host))return!0;return e(r.host,n)}(d,e))return!0;if(function e(t,n){var r=n.getRootNode();if(!r||!r.host)return!1;if(t===r.host)return!0;return e(t,r.host)}(d,e))return!0}return!1}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YaBrowserVisibilityApiWrapper=void 0;var r=function(){function e(e){void 0===e&&(e=window),this.windowObj=e,this.initYaBrowserApi()}return e.prototype.canUseYaBroApi=function(){return Boolean(this.yaBroApiInstance&&this.yaBroApiInstance.isInCustoPage)},e.prototype.isPageHiddenYaBroApi=function(){return!(this.yaBroApiInstance&&this.yaBroApiInstance.pageVisible)},e.prototype.initYaBrowserApi=function(){var e=this;this.windowObj.browser&&this.windowObj.browser.BrowserEmbeddedApi&&this.windowObj.browser.BrowserEmbeddedApi.getInstance().then((function(t){e.yaBroApiInstance=t}))},e}();t.YaBrowserVisibilityApiWrapper=r},function(e,t){e.exports={ARM_DEFAULT_TITLE:{cs:"Bli\u017e\u0161\xed informace na webov\xe9 str\xe1nce inzerenta",en:"More information on the advertised website",pt:"Mais informa\xe7\xf5es no s\xedtio web do anunciante",ru:"\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0440\u0435\u043a\u043b\u0430\u043c\u043e\u0434\u0430\u0442\u0435\u043b\u044f"},BASED_ON:{cs:"na z\xe1klad\u011b",de:"basierend auf",en:"based on",es:"a base de",pl:"na podstawie",pt:"baseado em",ru:"\u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435",tr:"B\u0131rak\u0131lan"},CALL:{cs:"Volat",de:"Anrufen",en:"Call",es:"Llamar",pl:"Zadzwo\u0144",pt:"Chamar",ru:"\u041f\u043e\u0437\u0432\u043e\u043d\u0438\u0442\u044c",tr:"Ara"},CANCELLATION:{cs:"Zru\u0161it",de:"Abbrechen",en:"Cancel",es:"Cancelar",pl:"Anuluj",pt:"Cancelar",ru:"\u041e\u0442\u043c\u0435\u043d\u0430",tr:"\u0130ptal"},CLOSE:{en:"Close",ru:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c",tr:"Kapat",be:"\u0417\u0430\u0447\u044b\u043d\u0456\u0446\u044c",kk:"\u0416\u0430\u0431\u0443",uk:"\u0417\u0430\u043a\u0440\u0438\u0442\u0438"},COPY:{cs:"Kop\xedrovat",de:"Kopieren",en:"Copy",es:"Copiar",pl:"Kopiuj",pt:"Copiar",ru:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",tr:"Kopyala"},DETAILS:{en:"Learn more",ru:"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435"},DISCLAIMER_ALCOHOL:{cs:"Nadm\u011brn\xe9 u\u017e\xedv\xe1n\xed \u0161kod\xed zdrav\xed",de:"\xdcberm\xe4\xdfiger Alkoholkonsum f\xfchrt zu Gesundheitssch\xe4den.",en:"Excessive consumption is harmful to your health",es:"El consumo excesivo es perjudicial para la salud",pl:"Nadmierne spo\u017cycie jest szkodliwe.",pt:"O consumo excessivo \xe9 prejudicial para a sua sa\xfade",ru:"\u0427\u0440\u0435\u0437\u043c\u0435\u0440\u043d\u043e\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435 \u0432\u0440\u0435\u0434\u043d\u043e.",tr:"A\u015f\u0131r\u0131 t\xfcketim zararl\u0131d\u0131r."},DISCLAIMER_DIETARYSUPPL:{cs:"Tento produkt nen\xed ur\u010den pro l\xe9ka\u0159sk\xe9 \xfa\u010dely",de:"Kein Arzneimittel",en:"This product is not intended for medical use",es:"Este producto no est\xe1 dise\xf1ado para uso m\xe9dico",pl:"Nie jest lekarstwem",pt:"Este medicamento n\xe3o se destina a uso m\xe9dico.",ru:"\u041d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0435\u043a\u0430\u0440\u0441\u0442\u0432\u043e\u043c",tr:"\u0130la\xe7 de\u011fildir"},DISCLAIMER_MEDICINE:{cs:"Ohledn\u011b p\u0159\xedpadn\xfdch kontraindikac\xed se obra\u0165te na sv\xe9ho l\xe9ka\u0159e",de:"Es bestehen Gegenanzeigen. Konsultieren Sie zun\xe4chst Ihren Arzt.",en:"Contraindications apply. Please consult your doctor",es:"Puede haber contraindicaciones. Por favor, consulta a tu m\xe9dico",pl:"Istniej\u0105 przeciwwskazania. Skonsultuj si\u0119 z lekarzem",pt:"Pode haver contra-indica\xe7\xf5es. Por favor, consulte o seu m\xe9dico",ru:"\u0415\u0441\u0442\u044c \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f. \u041f\u043e\u0441\u043e\u0432\u0435\u0442\u0443\u0439\u0442\u0435\u0441\u044c \u0441 \u0432\u0440\u0430\u0447\u043e\u043c",tr:"Kontrendikasyonlar\u0131 var. L\xfctfen, doktorunuza dan\u0131\u015f\u0131n."},FIVE_REVIEWS:{cs:"recenze",de:"Bewertungen",en:"reviews",es:"comentarios",pl:"opinii",pt:"resenhas",ru:"\u043e\u0442\u0437\u044b\u0432\u043e\u0432",tr:" yoruma g\xf6re"},FREE:{cs:"Voln\xfd",de:"Kostenlos",en:"Free",es:"Gratis",pl:"Bezp\u0142atne",pt:"Gr\xe1tis",ru:"\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e",tr:"\xdccretsiz"},GO_TO_REVIEWS:{cs:"P\u0159ej\xedt na recenze",de:"Zu Bewertungen",en:"Go to reviews",es:"Ir a comentarios",pl:"Przejd\u017a do opinii",pt:"V\xe1 para resenhas",ru:"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u043e\u0442\u0437\u044b\u0432\u0430\u043c",tr:"Yorumlara git"},GO_TO_SITE:{cs:"J\xedt na str\xe1nky",de:"Zur Website",en:"Go to site",es:"Ir al sitio",pl:"Przejd\u017a do strony",pt:"Ir para o site",ru:"\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442",tr:"Siteye git"},HIDE_AD:{cs:"Skr\xfdt&nbsp;reklamu",de:"Anzeige&nbsp;ausblenden",en:"Hide&nbsp;ad",es:"Ocultar&nbsp;anuncio",pl:"Ukryj&nbsp;reklam\u0119",pt:"Ocultar&nbsp;an\xfancio",ru:"\u0421\u043a\u0440\u044b\u0442\u044c&nbsp;\u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435",tr:"Reklamlar\u0131&nbsp;gizle"},INSTALL:{cs:"Nainstalovat",de:"Installieren",en:"Install",es:"Instalar",pl:"Instaluj",pt:"Instalar",ru:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c",tr:"Y\xfcklemek"},INSTALL_FROM_STORE:{cs:"Z\xedskejte ji v obchod\u011b {store}",de:"\xdcber {store} installieren",en:"Get it on {store}",es:"Vamos a ello {store}",pl:"Ustaw z {store}",pt:"Vamos a isto {store}",ru:"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0437 {store}",tr:"{store} den alin"},LEARN_MORE:{cs:"Podrobn\u011bj\u0161\xed informace",de:"Mehr erfahren",en:"Find out more",es:"M\xe1s informaci\xf3n",pl:"Dowiedz si\u0119 wi\u0119cej",pt:"Saiba mais",ru:"\u0423\u0437\u043d\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435",tr:"Ayr\u0131nt\u0131l\u0131 bilgi"},LEARN_MORE_EXP_1:{cs:"Nav\u0161t\xedvit str\xe1nku",de:"Zur Website",en:"Visit Site",es:"Ir",pl:"Przejd\u017a",pt:"Visitar o s\xedtio web",ru:"\u041f\u0435\u0440\u0435\u0439\u0442\u0438",tr:"Git"},LEARN_MORE_EXP_2:{cs:"Bli\u017e\u0161\xed informace",de:"Details",en:"Learn More",es:"M\xe1s detalles",pl:"Wi\u0119cej",pt:"Saiba mais",ru:"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435",tr:"Daha fazla bilgi"},LEARN_MORE_EXP_3:{cs:"Bli\u017e\u0161\xed informace",de:"Mehr erfahren",en:"Learn More",es:"Averiguar",pl:"Dowiedz si\u0119",pt:"Saiba mais",ru:"\u0423\u0437\u043d\u0430\u0442\u044c",tr:"Bilgi al"},LEARN_MORE_EXP_4:{cs:"Nav\u0161t\xedvit str\xe1nku",de:"Website besuchen",en:"Visit Site",es:"Abrir",pl:"Otw\xf3rz",pt:"Visitar o s\xedtio web",ru:"\u041e\u0442\u043a\u0440\u044b\u0442\u044c",tr:"A\xe7"},MARKET_RATING:{cs:"hodnocen\xed obchodu",de:"Store-Bewertung",en:"store rating",es:"valoraci\xf3n de la tienda",pl:"ocena sklepu",pt:"classifica\xe7\xe3o da loja",ru:"\u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430",tr:"ma\u011faza puan\u0131"},MORE:{cs:"Dal\u0161\xed",de:"Details",en:"More",es:"M\xe1s",pl:"Przejd\u017a",pt:"Mais",ru:"\u041f\u0435\u0440\u0435\u0439\u0442\u0438",tr:"Git"},MORE_ON:{cs:"Podrobnosti na",de:"Weitere Infos auf",en:"More on",es:"M\xe1s sobre",pl:"Wi\u0119cej na",pt:"Mais sobre",ru:"\u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u0430",tr:"Ayr\u0131nt\u0131l\u0131 bilgi"},MORE_ON_THE_WEBSITE:{cs:"P\u0159e\u010dt\u011bte si v\xedce na webov\xe9 str\xe1nce",de:"Weitere Infos unter",en:"Read more on the website",es:"M\xe1s detalles en la p\xe1gina",pl:"Wi\u0119cej na stronie",pt:"Leia mais no s\xedtio web",ru:"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435",tr:"Daha fazla ayr\u0131nt\u0131 i\xe7in siteye g\xf6z at\u0131n"},ONE_REVIEW:{cs:"recenze",de:"Bewertung",en:"review",es:"comentarios",pl:"opinie",pt:"resenha",ru:"\u043e\u0442\u0437\u044b\u0432\u0430",tr:" yoruma g\xf6re"},ORGANIZATION_RATING:{cs:"hodnocen\xed spole\u010dnosti",de:"Organisationsbewertung",en:"company rating",es:"valoraci\xf3n de la organizaci\xf3n",pl:"ocena organizacji",pt:"classifica\xe7\xe3o da empresa",ru:"\u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438",tr:"kurum puan\u0131"},PRICE_FROM:{cs:"od",de:"von",en:"from",es:"desde",pl:"od",pt:"desde",ru:"\u043e\u0442",tr:"min."},PRICE_TO:{cs:"do",de:"bis",en:"to",es:"hasta",pl:"do",pt:"at\xe9",ru:"\u0434\u043e",tr:"maks."},REVIEWS_PROVIDED_BY:{cs:"Recenze poskytnuty od",de:"Bewertungen bereitgestellt von",en:"Reviews provided by",es:"Comentarios proporcionados por el servicio",pl:"Opinie s\u0105 udost\u0119pnione przez serwis",pt:"Resenhas fornecidas por",ru:"\u041e\u0442\u0437\u044b\u0432\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c",tr:"Servis taraf\u0131ndan sa\u011flanan yorumlar"},SHOW_MORE_GOODS:{cs:"Zobrazit v\xedce",de:"Weitere Produkte anzeigen",en:"Show more",es:"Mostrar m\xe1s",pl:"Wi\u0119cej produkt\xf3w",pt:"Mostrar mais",ru:"\u0415\u0449\u0451 \u0442\u043e\u0432\u0430\u0440\u044b",tr:"Daha fazla \xfcr\xfcn"},SITE_RATING:{cs:"hodnocen\xed webov\xe9 str\xe1nky",de:"Website-Bewertung",en:"website rating",es:"valoraci\xf3n del sitio",pl:"ocena strony",pt:"classifica\xe7\xe3o do s\xedtio web",ru:"\u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u0441\u0430\u0439\u0442\u0430",tr:"site puan\u0131"},SOCIAL_ADV:{cs:"Propagace na soci\xe1ln\xedch m\xe9di\xedch",de:"Werbung f\xfcr soziale Anliegen",en:"Social advertising",es:"Publicidad social",pl:"Reklama spo\u0142eczna",pt:"Publicidade social",ru:"\u0421\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0430",tr:"Kamu hizmet reklam\u0131"},SOCIAL_ADV_SHORT:{cs:"Reklama na soci\xe1ln\xedch m\xe9di\xedch",de:"Soziale Werbung",en:"Social ad",es:"Anuncio social",pl:"Reklama spo\u0142eczna",pt:"An\xfancio social",ru:"\u0421\u043e\u0446\u0440\u0435\u043a\u043b\u0430\u043c\u0430",tr:"Kamu hizmet reklam\u0131"},THANKS_AD_HIDDEN:{cs:"D\u011bkujeme v\xe1m, tato reklama je nyn\xed skryta.",de:"Danke! Die Anzeige wurde ausgeblendet.",en:"Thank you, this ad is hidden now.",es:"Gracias, este anuncio ahora est\xe1 oculto.",pl:"Dzi\u0119ki, og\u0142oszenie jest ukryte.",pt:"Obrigado, este an\xfancio agora est\xe1 oculto.",ru:"\u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043a\u0440\u044b\u0442\u043e.",tr:"Te\u015fekk\xfcrler, reklam kapat\u0131ld\u0131."},TWO_REVIEWS:{cs:"recenze",de:"Bewertungen",en:"reviews",es:"comentarios",pl:"opinii",pt:"resenhas",ru:"\u043e\u0442\u0437\u044b\u0432\u043e\u0432",tr:" yoruma g\xf6re"},YANDEX_BROWSER:{cs:"Yandex Browser",de:"Yandex.Browser",en:"Yandex Browser",es:"Yandex.Navegador",pl:"Yandex.Przegl\u0105darka",pt:"Navegador Yandex",ru:"\u042f\u043d\u0434\u0435\u043a\u0441.\u0411\u0440\u0430\u0443\u0437\u0435\u0440",tr:"Yandex.Browser"},YANDEX_BUSINESS:{cs:"Yandex.Business",de:"Yandex.Business",en:"Yandex.Business",es:"Yandex.Business",pl:"Ya.Biznes",pt:"Yandex.Business",ru:"\u042f.\u0411\u0438\u0437\u043d\u0435\u0441",tr:"Yandex.Business"},YANDEX_DIRECT:{cs:"Yandex.Direct",de:"Yandex.Direct",en:"Yandex.Direct",es:"Yandex.Direct",pl:"Yandex.Direct",pt:"Yandex.Direct",ru:"\u042f\u043d\u0434\u0435\u043a\u0441.\u0414\u0438\u0440\u0435\u043a\u0442",tr:"Yandex.Direct"},YANDEX_MAPS:{cs:"Yandex.Maps",de:"Yandex.Maps",en:"Yandex.Maps",es:"Yandex.Mapas",pl:"Yandex.Mapy",pt:"Yandex.Maps",ru:"\u042f\u043d\u0434\u0435\u043a\u0441.\u041a\u0430\u0440\u0442\u044b",tr:"Yandex.Maps"},YANDEX_MARKET:{cs:"Yandex.Market",de:"Yandex.Market",en:"Yandex.Market",es:"Yandex.Mercado",pl:"Yandex.Market",pt:"Yandex.Market",ru:"\u042f\u043d\u0434\u0435\u043a\u0441.\u041c\u0430\u0440\u043a\u0435\u0442",tr:"Yandex.Market"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToUtf=t.HTML_TO_UTF8_MAPPINGS=void 0;var r=/&\w+;/g;t.HTML_TO_UTF8_MAPPINGS={"&quot;":'"',"&laquo;":"\xab","&raquo;":"\xbb","&bdquo;":"\u201e","&ndash;":"\u2013","&mdash;":"\u2014"},t.htmlToUtf=function(e){return void 0===e&&(e=""),e.replace(r,(function(e){return e in t.HTML_TO_UTF8_MAPPINGS?t.HTML_TO_UTF8_MAPPINGS[e]:e}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWindowsVersion=void 0,t.getWindowsVersion=function(e){void 0===e&&(e=window);var t=(0,n(184).getUserAgent)(e).toLowerCase(),r=/windows nt (\d+\.\d+)/.exec(t);if(r){var i=Number(r[1]);return i>0?i:-1}return-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isMac=void 0,t.isMac=(0,n(689).getIsMac)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsMac=void 0,t.getIsMac=function(e){void 0===e&&(e=window);var t=(0,n(184).getUserAgent)(e).toLowerCase();return/mac/.test(t)&&!(0,n(185).getIsIOS)(e)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isError=void 0;t.isError=function(e){return e instanceof Error||"Error"===(0,n(77).getInternalClass)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VAS_CONTROLS_SETTINGS_HIDE_ALL=void 0,t.VAS_CONTROLS_SETTINGS_HIDE_ALL={visibility:!1,controlsVisibility:{}}},function(e,t,n){e.exports=function(e){return n("20"==e?694:"18"==e?695:"3"==e?696:"19"==e?697:"21"==e?698:"15"==e?699:"1"==e?700:"6"==e?701:"4"==e?702:"5"==e?703:"2"==e?704:705)}},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(4).then(function(){if(i=n(929),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(5).then(function(){if(i=n(930),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(6).then(function(){if(i=n(931),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(7).then(function(){if(i=n(932),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(9).then(function(){if(i=n(933),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(10).then(function(){if(i=n(934),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(11).then(function(){if(i=n(935),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(12).then(function(){if(i=n(936),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(3).then(function(){if(i=n(937),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(8).then(function(){if(i=n(938),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(13).then(function(){if(i=n(939),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(2).then(function(){if(i=n(940),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){"use strict";var r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ScrollerController=void 0;var i=n(311),o=n(97),a=n(707),s=function(){function e(e,t,n,r,i){var a=this;this.container=e,this.salt=t,this._scroller=n,this.animationQueue=r,this._currentPosition=0,this.animationSettings={},this.updateMask(),i(e,"touchstart",(function(){a.stopAnimation()}),{passive:!0}),i(n,"scroll",(function(e){o.isMobile&&(a._currentPosition=e.currentTarget.scrollLeft),a.updateMask()}))}return Object.defineProperty(e.prototype,"currentPosition",{get:function(){return this._currentPosition},set:function(e){e=(0,i.clamp)(e,0,this.maxPosition),this._scroller.scrollLeft=e,this._currentPosition=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxPosition",{get:function(){var e=this._scroller,t=e.clientWidth,n=e.scrollWidth;return Math.max(0,n-t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"scroller",{get:function(){return this._scroller},enumerable:!1,configurable:!0}),e.prototype.runAnimation=function(e){var t=this;this.clearTimer();var n=e(this),i=n.fn,o=r(n,["fn"]),a=function(){t.lastTickTime=Date.now(),t.animationSettings=o,i(),void 0!==t.targetPosition&&(t.initialDiff=t.targetPosition-t.currentPosition),t.rerunTask()};(null==o?void 0:o.delay)?this.timer=setTimeout((function(){return a()}),o.delay):a()},e.prototype.resetPosition=function(){this.targetPosition=void 0,this.currentPosition=0},e.prototype.isMaxRightPosition=function(){return this.currentPosition===this.maxPosition},e.prototype.isMaxLeftPosition=function(){return this.currentPosition<1},e.prototype.stopAnimation=function(){this.runningTask&&this.animationQueue.remove(this.runningTask),this.clearTimer()},e.prototype.updateMask=function(){this.container.classList.remove(a("left",this.salt)),this.container.classList.remove(a("right",this.salt)),this.container.classList.remove(a("container_mask",this.salt)),this.maxPosition&&(this.container.classList.add(a("container_mask",this.salt)),this.isMaxLeftPosition()&&this.container.classList.add(a("left",this.salt)),this.isMaxRightPosition()&&this.container.classList.add(a("right",this.salt)))},e.prototype.onFinish=function(){this.runningTask=void 0,this.animationSettings.finishCb&&this.animationSettings.finishCb()},e.prototype.startTask=function(){var e=this,t={onStart:function(n){if(void 0!==e.targetPosition){var r=e.targetPosition-e.currentPosition;Math.abs(r)<1?(e.currentPosition=e.targetPosition,e.onFinish()):(e.animationSettings.duration&&e.initialDiff?e.currentPosition+=e.initialDiff*e.getDeltaTimeCof():e.currentPosition+=e.useEasingFn(r),e.animationQueue.push(t)),e.lastTickTime=Date.now(),n()}else n()},onStop:function(e){e()}};this.animationQueue.push(t),this.runningTask=t},e.prototype.rerunTask=function(){this.runningTask||this.startTask()},e.prototype.clearTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=void 0)},e.prototype.getDeltaTimeCof=function(){return this.lastTickTime&&this.animationSettings.duration?(Date.now()-this.lastTickTime)/this.animationSettings.duration:0},e.prototype.useEasingFn=function(e){return this.animationSettings.easingFn?this.animationSettings.easingFn(e):.057*e},e}();t.ScrollerController=s},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("cb82e8d51",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mousemoveAnimation=void 0;t.mousemoveAnimation=function(e){return function(t){var n=t.scroller,r=n.clientWidth,i=n.scrollWidth,o=t.scroller.getBoundingClientRect(),a=Math.max(20,r*r/i),s=r-a,c=e.clientX-o.left-a/2,l=Math.max(0,Math.min(1,c/s)),u=t.maxPosition*l;return{fn:function(){t.targetPosition=u}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inScreenAnimation=void 0;t.inScreenAnimation=function(e,t){return void 0===e&&(e=1e3),void 0===t&&(t=5e3),function(n){return{fn:function(){n.targetPosition=n.maxPosition},delay:e,duration:t,finishCb:function(){n.runAnimation((function(e){return{fn:function(){e.targetPosition=0},duration:1e3,delay:1e3}}))}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tickerAnimation=void 0;t.tickerAnimation=function(e,n){return void 0===e&&(e=2500),void 0===n&&(n=5e3),function(r){var i=r.scroller;return i.style.setProperty("transition","opacity 0.25s linear"),{fn:function(){i.style.removeProperty("opacity"),r.targetPosition=r.maxPosition},delay:e,duration:n,finishCb:function(){r.runAnimation((function(o){return{fn:function(){i.style.setProperty("opacity","0"),o.targetPosition=r.maxPosition-2},finishCb:function(){r.currentPosition=0,i.style.removeProperty("opacity"),r.runAnimation((0,t.tickerAnimation)(e,n))},duration:1e3,delay:1e3}}))}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNativeSendBeaconSupported=void 0;t.isNativeSendBeaconSupported=function(e){return(0,n(16).checkNativeCode)(e.navigator.sendBeacon)||!1}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.destroyMeasurers=t.measureBlock=void 0;var i=["moat","adloox","weborama"],o={};t.measureBlock=function(e){o[e.id]=[],(0,n(2).forEach)((0,n(32).getObjectKeys)(e.config),(function(t){if(s=t,(0,n(44).indexOf)(i,s)>-1){var a=(0,n(725).getVersion)(t,e.config[t]);(0,n(726).loadMeasurer)(t,a,e.nonce).then((function(n){if(o[e.id]){var i=function(e){var t=r({},e);return delete t.use_unstable_script,t}(e.config[t]),s=n(e.container,i,{actualVersion:a,nonce:e.nonce});o[e.id].push(s)}}))}else(0,n(562).logError)(n(562).WRONG_VERIFIER_NAME,t);var s}))},t.destroyMeasurers=function(e){var t=o[e];if((0,n(10).isArray)(t)){for(var r=0;r<t.length;r++)t[r]();delete o[e]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAverageColor=void 0,t.getAverageColor=function(e){var t=0,n=0,r=0;if(!e)return null;for(var i=0;i<e.length;i+=4)t+=e[i],n+=e[i+1],r+=e[i+2];if(0!==e.length){var o=e.length/4;t=Math.floor(t/o),n=Math.floor(n/o),r=Math.floor(r/o)}return[t,n,r]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindowsPhone=void 0;t.isWindowsPhone=function(e){return void 0===e&&(e=window),/Windows Phone/i.test(e.navigator.userAgent)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TGO_VIDEO_ALLOWED_TO_HIDE_VIDEO_SLOT_AREA_PORTION=void 0,t.TGO_VIDEO_ALLOWED_TO_HIDE_VIDEO_SLOT_AREA_PORTION=.2},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.un=t.on=void 0,Object.defineProperty(t,"on",{enumerable:!0,get:function(){return n(24).on}}),Object.defineProperty(t,"un",{enumerable:!0,get:function(){return n(24).un}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTouchScreenDevice=void 0,t.isTouchScreenDevice=(0,n(718).getIsTouchScreenDevice)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsTouchScreenDevice=void 0,t.getIsTouchScreenDevice=function(e){return void 0===e&&(e=window),(0,n(242).hasTouchEvents)(e)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapValues=void 0;t.mapValues=function(e,t){var r={};return(0,n(132).forOwn)(e,(function(e,n){r[n]=t(e,n)})),r}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPreferredHeight=void 0;var r=[{width:100,aspectRatio:3},{width:200,aspectRatio:1.5},{width:400,aspectRatio:.75},{width:600,aspectRatio:.5},{width:800,aspectRatio:.25},{width:1e3,aspectRatio:.25},{width:1200,aspectRatio:.125},{width:1/0,aspectRatio:.125}];t.getPreferredHeight=function(e){for(var t=1;t<r.length-1&&e>=r[t].width;)t++;var i=r[t-1],o=r[t],a=(0,n(483).getLinearFunction)(i.width,i.aspectRatio,o.width,o.aspectRatio);return Math.floor(e*a(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVersion=t.currentVersions=void 0,t.currentVersions={moat:{actual:73,unstable:73},adloox:{actual:61,unstable:62},weborama:{actual:61,unstable:62}},t.getVersion=function(e,n){return n.use_unstable_script?t.currentVersions[e].unstable:t.currentVersions[e].actual}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadMeasurer=void 0,t.loadMeasurer=function(e,t,r){var i=function(e,t){return"https://yastatic.net/pcode-static/measurers/".concat(t,"/media/").concat(e,".js")}(e,t),o=(0,n(6).getYa)();return o.measurers&&o.measurers[e]?new Promise((function(t){t(o.measurers[e])})):new Promise((function(t){(0,n(107).loadCustomScript)({win:window,src:i,nonce:r,onLoad:function(){return t(o.measurers[e])},hasCors:!0})}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClientHTML=void 0,t.getClientHTML=function(e,t,r){var i=r?"hydration":"client";return'<!DOCTYPE html>\n<html>\n<head>\n    <meta charset="utf-8">\n    <meta http-equiv="X-UA-Compatible" content="IE=edge">\n    <style>\n        html, body {width: 100%; height: 100%}\n        body {margin: 0; overflow: hidden}\n    </style>\n    '.concat(r?'<style id="app_styles">'.concat(r.css,"</style>"):"",'\n</head>\n<body>\n<div id="app">').concat(r?r.html:"",'</div>\n<script src="').concat(n.p).concat(t,"_").concat(i,".js\"><\/script>\n<script>\n    window.Ya.mediaCode.create('").concat(t,"', ").concat(n.lv["json"].stringify(e),", '").concat(r?"ssr":"","');\n<\/script>\n</body>\n</html>")}},function(e,t){e.exports='"use strict";var m=/^(?:(?:https?:)?\\/\\/)?(?:an\\.)?yandex\\.[a-z]+\\//gi,t=window.parent;window.addEventListener("message",function(e){var t;if("string"==typeof e.data)try{t=JSON.parse(e.data)}catch(e){return}else t=e.data;var n=t||{},a=n.name,r=n.namespace,o=n.days,d=n.urls,i=n.adblockCountToXhr,c=n.countToXhr,s=n.bundle,u="load_image"===a||"load_script"===a,p=function(e,t){if(!t||!e)return!0;var n="".concat(e,"=1");if(-1!==document.cookie.indexOf(n))return!1;var a=86400*t*1e3,r=new Date,o=new Date(Number(r)+a).toUTCString();return document.cookie="".concat(n,"; expires=").concat(o,"; SameSite=None; Secure"),!0}(r,o),l=Array.isArray(d)&&0<d.length;u&&p&&l&&function(e,t,n,a,r){for(var o=0;o<e.length;o++)"load_image"===t?a&&m.test(e[o])||"adblock"===r&&n?(c=e[o],s=void 0,(s=new XMLHttpRequest).open("GET",c,!0),s.withCredentials=!0,s.send()):(u=e[o],(new Image).src=u):(d=e[o],i=void 0,(i=document.createElement("script")).src=d,document.body.appendChild(i));var d,i,c,s,u}(d,a,i,c,s)});var n=!1,a=function(e){"pagehide"===e.type&&e.persisted||n||(n=!0,t.postMessage({name:"CONFIRM_FRAME_UNLOADED"},"*"))};["beforeunload","pagehide","unload"].forEach(function(e){return window.addEventListener(e,a)}),t.postMessage({name:"CONFIRM_FRAME_READY"},"*");'},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appendStyle=t.getStylesContainer=void 0;function r(e,t){t||(t=(0,n(48).getHead)(window));var r=document.createElement("style");return r.setAttribute("type","text/css"),e&&r.setAttribute("nonce",e),t.appendChild(r),r}var i=[];t.getStylesContainer=function(e,t){t||(t=(0,n(48).getHead)(window));for(var o=null,a=0;a<i.length;a++)if(i[a].parent===t){o=i[a].container;break}return o||(o=r(e,t)),i.push({parent:t,container:o}),o},t.appendStyle=function(e,t,n,i){void 0===i&&(i=!1);var o=r(t,n);return o.insertAdjacentHTML("beforeend",e),o}},,function(e,t,n){"use strict";function r(e){return void 0===e&&(e={}),function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i=[],o=0;o<t.length;){var a=t[o++];if((0,n(5).isString)(a)&&""!==a)for(var s=a.split(" "),c=0;c<s.length;){var l=s[c++];if(l){var u=e[l]||l;":"!==u[0]&&i.push(u)}}}return i.join(" ")}}Object.defineProperty(t,"__esModule",{value:!0}),t.bemClassNamesFactory=t.classNamesFactory=void 0,t.classNamesFactory=r,t.bemClassNamesFactory=function(e,t){var i=(0,n(1156).BemFormatter)(e);if((0,n(3).isFunction)(t))return i;var o=r(t);return function(){var e=i.apply(i,arguments);return o(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identify=void 0;var r=0,i="__"+Number(new Date),o=Boolean(null===window||void 0===window?void 0:window.document),a=function(e){return o?"csr-".concat(e).concat(++r):"".concat(e).concat(++r)};t.identify=function(e){var t=void 0===e?{}:e,n=t.obj,r=t.onlyGet,o=void 0!==r&&r,s=t.prefix,c=void 0===s?"uniq":s;if(!n)return a(c);var l="uniqueID"in n?"uniqueID":i;return o||l in n?n[l]:n[l]=a(c)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getText=void 0;var r=n(1007);t.getText=function(e,t,n){return"string"==typeof e?(0,r.i18nAdTune)(e,n):(0,r.i18nAdTune)(e[t]?e[t]:e["default"],n)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBestCoverElement=t.getItemWithMaxWeight=t.getLimitedLinearFunction=t.getLimitFunction=t.getLinearFunction=void 0;var r=n(18);t.getLinearFunction=function(e,t,n,r){var i=(t-r)/(e-n),o=t-i*e;return function(e){return i*e+o}};t.getLimitFunction=function(e,t){return function(n){return Math.max(e,Math.min(n,t))}};t.getLimitedLinearFunction=function(e,n,r,i){var o=(0,t.getLinearFunction)(e,n,r,i),a=(0,t.getLimitFunction)(n,i);return function(e){var t=o(e);return a(t)}};t.getItemWithMaxWeight=function(e,t){for(var n,r=-1/0,i=0,o=e;i<o.length;i++){var a=o[i],s=t(a);s>=r&&(r=s,n=a)}return n};t.getBestCoverElement=function(e,n){var i=(0,r.filter)(n,(function(t){return t.height>=e.height&&t.width>=e.width})),o=e.width/e.height,a=(0,t.getItemWithMaxWeight)(i,(function(e){var t=e.width*e.height,n=e.width/e.height;return-t*Math.max(o/n,n/o)}));return a||(a||(0,t.getItemWithMaxWeight)(n,(function(t){return Math.min(t.width,e.width)*Math.min(t.height,e.height)})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.i18nCommon=void 0;var r=(0,n(166).safeDo)((function(){return n(1111)}),null),i=(0,n(166).safeDo)((function(){return n(1116)}),null)||(0,n(166).safeDo)((function(){return n(1117)}),null)||(0,n(166).safeDo)((function(){return n(1118)}),null)||(0,n(166).safeDo)((function(){return n(1119)}),null)||(0,n(166).safeDo)((function(){return n(1120)}),null)||(0,n(166).safeDo)((function(){return n(1121)}),null)||(0,n(166).safeDo)((function(){return n(1122)}),null)||(0,n(166).safeDo)((function(){return n(1123)}),null)||(0,n(166).safeDo)((function(){return n(1124)}),null)||(0,n(166).safeDo)((function(){return n(1125)}),null)||(0,n(166).safeDo)((function(){return n(1126)}),null);t.i18nCommon=r?(0,n(166).getI18nWithKeyset)(r,!1):(0,n(166).getI18nWithKeyset)(i,!0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onAdtuneClick=t.chooseOption=t.chooseNewAdtuneOption=t.buildUrl=void 0;var r=n(2),i=n(109),o=n(3),a=n(20),s=n(18),c=n(7),l=n(998),u=n(469),d=n(315),p=n(251),f=(0,a.getCodeVersion)(),h=i.isTouchDevice;t.buildUrl=function(e,t,n){var i=n||["reason-id","action-id"],o={};return(0,r.forEach)(i,(function(e){o[e]=t[e]})),new d.Url({host:e,params:o}).getUrl()};t.chooseNewAdtuneOption=function(e,n,r,i,a,s){(0,u.sendConfirm)({src:(0,t.buildUrl)(i,{"reason-id":e.toString(),"action-id":n.toString()}),body:s}),v(n,e,r),(0,o.isFunction)(a)&&a()};var v=function(e,t,n){var r=(0,c.protect)(c.ProtectedNames.MetrikaAdtune,(function(r){var i={type:"inline",optionId:"".concat(t,"-").concat(e),version:f,isTouch:h,optionText:n};r.reachGoal("send",i)}));(0,p.requestCounter)({id:l.METRIKA_COUNTER},r)};t.chooseOption=function(e,n,r,i,a){var d=function(e){var t=e.split("-");return{"reason-id":t[0],"action-id":t[1]}}(e);(0,u.sendConfirm)({src:(0,t.buildUrl)(n,d)}),function(e,t,n){var r=(0,c.protect)(c.ProtectedNames.MetrikaAdtune,(function(r){var i={type:"inline",blockType:n,optionId:e,version:f,isTouch:h};i.optionText=(0,s.filter)(t(),(function(t){return t.id===e}))[0].text,r.reachGoal("send",i)}));(0,p.requestCounter)({id:l.METRIKA_COUNTER},r)}(e,i,r),(0,o.isFunction)(a)&&a()};var m=function(e){e.hit(window.location.href,{params:{type:"inline",version:f,isTouch:h}})};t.onAdtuneClick=function(){var e=(0,c.protect)(c.ProtectedNames.MetrikaAdtune,m);(0,p.requestCounter)({id:l.METRIKA_COUNTER},e)}},,function(e,t,n){"use strict";n.r(t),n.d(t,"version",(function(){return k})),n.d(t,"Children",(function(){return p})),n.d(t,"render",(function(){return I})),n.d(t,"hydrate",(function(){return S})),n.d(t,"unmountComponentAtNode",(function(){return D})),n.d(t,"createPortal",(function(){return O})),n.d(t,"createFactory",(function(){return M})),n.d(t,"cloneElement",(function(){return N})),n.d(t,"isValidElement",(function(){return L})),n.d(t,"findDOMNode",(function(){return B})),n.d(t,"PureComponent",(function(){return s})),n.d(t,"memo",(function(){return c})),n.d(t,"forwardRef",(function(){return u})),n.d(t,"unstable_batchedUpdates",(function(){return x})),n.d(t,"Suspense",(function(){return v})),n.d(t,"SuspenseList",(function(){return _})),n.d(t,"lazy",(function(){return g}));var r=n(530);n.d(t,"useState",(function(){return r["useState"]})),n.d(t,"useReducer",(function(){return r["useReducer"]})),n.d(t,"useEffect",(function(){return r["useEffect"]})),n.d(t,"useLayoutEffect",(function(){return r["useLayoutEffect"]})),n.d(t,"useRef",(function(){return r["useRef"]})),n.d(t,"useImperativeHandle",(function(){return r["useImperativeHandle"]})),n.d(t,"useMemo",(function(){return r["useMemo"]})),n.d(t,"useCallback",(function(){return r["useCallback"]})),n.d(t,"useContext",(function(){return r["useContext"]})),n.d(t,"useDebugValue",(function(){return r["useDebugValue"]})),n.d(t,"useErrorBoundary",(function(){return r["useErrorBoundary"]}));var i=n(108);function o(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}n.d(t,"createElement",(function(){return i["createElement"]})),n.d(t,"createContext",(function(){return i["createContext"]})),n.d(t,"createRef",(function(){return i["createRef"]})),n.d(t,"Fragment",(function(){return i["Fragment"]})),n.d(t,"Component",(function(){return i["Component"]}));var s=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).isPureReactComponent=!0,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.shouldComponentUpdate=function(e,t){return a(this.props,e)||a(this.state,t)},r}(i["Component"]);function c(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:a(this.props,e)}function r(t){return this.shouldComponentUpdate=n,Object(i["createElement"])(e,o({},t))}return r.prototype.isReactComponent=!0,r.displayName="Memo("+(e.displayName||e.name)+")",r.t=!0,r}var l=i["options"].vnode;function u(e){function t(t){var n=o({},t);return delete n.ref,e(n,t.ref)}return t.prototype.isReactComponent=!0,t.t=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}i["options"].vnode=function(e){e.type&&e.type.t&&e.ref&&(e.props.ref=e.ref,e.ref=null),l&&l(e)};var d=function(e,t){return e?Object(i["toChildArray"])(e).reduce((function(e,n,r){return e.concat(t(n,r))}),[]):null},p={map:d,forEach:d,count:function(e){return e?Object(i["toChildArray"])(e).length:0},only:function(e){if(1!==(e=Object(i["toChildArray"])(e)).length)throw new Error("Children.only() expects only one child.");return e[0]},toArray:i["toChildArray"]},f=i["options"].__e;function h(e){return e&&((e=o({},e)).__c=null,e.__k=e.__k&&e.__k.map(h)),e}function v(e){this.__u=0,this.u=null,this.__b=null}function m(e){var t=e.__.__c;return t&&t.o&&t.o(e)}function g(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return Object(i["createElement"])(n,o)}return o.displayName="Lazy",o.t=!0,o}function _(){this.i=null,this.l=null}i["options"].__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return r.__c(e,t.__c);f(e,t,n)},(v.prototype=new i["Component"]).__c=function(e,t){var n=this;null==n.u&&(n.u=[]),n.u.push(t);var r=m(n.__v),i=!1,o=function(){i||(i=!0,r?r(a):a())};t.__c=t.componentWillUnmount,t.componentWillUnmount=function(){o(),t.__c&&t.__c()};var a=function(){var e;if(!--n.__u)for(n.__v.__k[0]=n.state.o,n.setState({o:n.__b=null});e=n.u.pop();)e.forceUpdate()};n.__u++||n.setState({o:n.__b=n.__v.__k[0]}),e.then(o,o)},v.prototype.render=function(e,t){return this.__b&&(this.__v.__k[0]=h(this.__b),this.__b=null),[Object(i["createElement"])(i["Component"],null,t.o?null:e.children),t.o&&e.fallback]};var y=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};(_.prototype=new i["Component"]).o=function(e){var t=this,n=m(t.__v),r=t.l.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),y(t,e,r)):i()};n?n(o):o()}},_.prototype.render=function(e){this.i=null,this.l=new Map;var t=Object(i["toChildArray"])(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},_.prototype.componentDidUpdate=_.prototype.componentDidMount=function(){var e=this;e.l.forEach((function(t,n){y(e,n,t)}))};var b=function(){function e(){}var t=e.prototype;return t.getChildContext=function(){return this.props.context},t.render=function(e){return e.children},e}();function C(e){var t=this,n=e.container,r=Object(i["createElement"])(b,{context:t.context},e.vnode);return t.s&&t.s!==n&&(t.h.parentNode&&t.s.removeChild(t.h),Object(i["_unmount"])(t.v),t.p=!1),e.vnode?t.p?(n.__k=t.__k,Object(i["render"])(r,n),t.__k=n.__k):(t.h=document.createTextNode(""),Object(i["hydrate"])("",n),n.appendChild(t.h),t.p=!0,t.s=n,Object(i["render"])(r,n,t.h),t.__k=this.h.__k):t.p&&(t.h.parentNode&&t.s.removeChild(t.h),Object(i["_unmount"])(t.v)),t.v=r,t.componentWillUnmount=function(){t.h.parentNode&&t.s.removeChild(t.h),Object(i["_unmount"])(t.v)},null}function O(e,t){return Object(i["createElement"])(C,{vnode:e,container:t})}var E=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/;i["Component"].prototype.isReactComponent={};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;function I(e,t,n){if(null==t.__k)for(;t.firstChild;)t.removeChild(t.firstChild);return Object(i["render"])(e,t),"function"==typeof n&&n(),e?e.__c:null}function S(e,t,n){return Object(i["hydrate"])(e,t),"function"==typeof n&&n(),e?e.__c:null}var T=i["options"].event;function w(e,t){e["UNSAFE_"+t]&&!e[t]&&Object.defineProperty(e,t,{configurable:!1,get:function(){return this["UNSAFE_"+t]},set:function(e){this["UNSAFE_"+t]=e}})}i["options"].event=function(e){T&&(e=T(e)),e.persist=function(){},e.isDefaultPrevented=function(){return e.defaultPrevented};var t=e.stopPropagation,n=!1;return e.stopPropagation=function(){n=!0,t.call(this)},e.isPropagationStopped=function(){return n},e.nativeEvent=e};var R={configurable:!0,get:function(){return this.class}},P=i["options"].vnode;i["options"].vnode=function(e){e.$$typeof=A;var t=e.type,n=e.props;if(n.class!=n.className&&(R.enumerable="className"in n,null!=n.className&&(n.class=n.className),Object.defineProperty(n,"className",R)),"function"!=typeof t){var r,o,a;for(a in n.defaultValue&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),Array.isArray(n.value)&&n.multiple&&"select"===t&&(Object(i["toChildArray"])(n.children).forEach((function(e){-1!=n.value.indexOf(e.props.value)&&(e.props.selected=!0)})),delete n.value),n)if(r=E.test(a))break;if(r)for(a in o=e.props={},n)o[E.test(a)?a.replace(/([A-Z0-9])/,"-$1").toLowerCase():a]=n[a]}!function(t){var n=e.type,r=e.props;if(r&&"string"==typeof n){var i={};for(var o in r)/^on(Ani|Tra|Tou)/.test(o)&&(r[o.toLowerCase()]=r[o],delete r[o]),i[o.toLowerCase()]=o;if(i.ondoubleclick&&(r.ondblclick=r[i.ondoubleclick],delete r[i.ondoubleclick]),i.onbeforeinput&&(r.onbeforeinput=r[i.onbeforeinput],delete r[i.onbeforeinput]),i.onchange&&("textarea"===n||"input"===n.toLowerCase()&&!/^fil|che|ra/i.test(r.type))){var a=i.oninput||"oninput";r[a]||(r[a]=r[i.onchange],delete r[i.onchange])}}}(),"function"==typeof t&&!t.m&&t.prototype&&(w(t.prototype,"componentWillMount"),w(t.prototype,"componentWillReceiveProps"),w(t.prototype,"componentWillUpdate"),t.m=!0),P&&P(e)};var k="16.8.0";function M(e){return i["createElement"].bind(undefined,e)}function L(e){return!!e&&e.$$typeof===A}function N(e){return L(e)?i["cloneElement"].apply(null,arguments):e}function D(e){return!!e.__k&&(Object(i["render"])(null,e),!0)}function B(e){return e&&(e.base||1===e.nodeType&&e)||null}var x=function(e,t){return e(t)};t["default"]={useState:r["useState"],useReducer:r["useReducer"],useEffect:r["useEffect"],useLayoutEffect:r["useLayoutEffect"],useRef:r["useRef"],useImperativeHandle:r["useImperativeHandle"],useMemo:r["useMemo"],useCallback:r["useCallback"],useContext:r["useContext"],useDebugValue:r["useDebugValue"],version:"16.8.0",Children:p,render:I,hydrate:I,unmountComponentAtNode:D,createPortal:O,createElement:i["createElement"],createContext:i["createContext"],createFactory:M,cloneElement:N,createRef:i["createRef"],Fragment:i["Fragment"],isValidElement:L,findDOMNode:B,Component:i["Component"],PureComponent:s,memo:c,forwardRef:u,unstable_batchedUpdates:x,Suspense:v,SuspenseList:_,lazy:g}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyStyles=void 0;var r=n(960),i=n(983),o=n(623),a=n(529);t.applyStyles=function(e,t,n){void 0===n&&(n=1);var s=[];if(e||t){for(;n>0;)n--,s.push(a.getAlias((0,r.identify)()));var c={};e&&(c[".".concat(s.join("."))]=e),t&&(c[".".concat(s.join("."),":hover")]=t),(0,o.useStyles)((0,i.buildStyles)(c))}return s.join(" ")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setInnerHTML=void 0,t.setInnerHTML=function e(t,n,r,i){void 0===i&&(i={});var o=i.onRender,a=i.crossorigin,s=void 0===a?"anonymous":a,c=document.createElement("div");c.innerHTML=n;for(var l=c.getElementsByTagName("script"),u=[],d=0;d<l.length;d++)u.push(l[d]);for(;c.firstChild;)t.appendChild(c.firstChild);var p=document.write,f=document.writeln;!function n(){try{if(document.write=function(n){e(t,n,r)},document.writeln=function(e){document.write(e+"<br/>")},u.length){var i=u.shift();i&&function(e,t){for(var n=document.createElement("script"),i=0;i<e.attributes.length;i++){var o=e.attributes[i];n.setAttribute(o.name,o.value)}r&&n.setAttribute("nonce",r);e.src?(s&&n.setAttribute("crossorigin",s),n.async=!0,n.src=e.src,n.onload=function(){n.onload=function(){},t()},e.parentNode.replaceChild(n,e)):(n.innerHTML=e.text,e.parentNode.replaceChild(n,e),t())}(i,n)}else o&&o()}finally{document.write=p,document.writeln=f}}()}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sizesMatrix=t.advertiserInfoState=t.bugState=t.copyLinkState=t.socialInitialState=t.initialState=t.menuTypes=void 0;var r,i=n(640),o=n(999),a=n(1e3),s=n(1001),c=n(1002),l=n(1003),u=n(1004),d=n(1005);!function(e){e["reason"]="reason",e["link"]="link",e["disclaimer"]="disclaimer",e["copyLink"]="copyLink",e["bug"]="bug"}(r=t.menuTypes||(t.menuTypes={})),t.initialState={headerKey:{default:"AD_DEFAULT",micro:"AD_MICRO"},active:!0,activeTab:"",withCloseIcon:!0,withBackButton:!1,content:{about:{order:4,type:r.link,textKey:{default:"ABOUT_AD_DEFAULT",micro:"ABOUT_AD_MICRO"},url:i.ABOUT_URL,actionId:0,reasonId:19,icon:l},21:{order:1,type:r.reason,actionId:4,reasonId:21,icon:a,textKey:{default:"HIDE_DEFAULT",micro:"HIDE_MICRO"},headerKey:"HIDDEN",contentKey:"WE_WILL_USE",options:[{actionId:2,reasonId:3,textKey:{default:"NOT_INTERESTED_DEFAULT",micro:"NOT_INTERESTED_MICRO"}},{actionId:2,reasonId:14,textKey:{default:"ALREADY_PURCHASED_DEFAULT",micro:"ALREADY_PURCHASED_MICRO"}},{actionId:2,reasonId:22,textKey:{default:"OFTEN_DEFAULT",micro:"OFTEN_MICRO"}},{actionId:1,reasonId:9,hideInRecomendationWidget:!0,textKey:{default:"COVERS_CONTENT_DEFAULT",micro:"COVERS_CONTENT_MICRO"}}],otherOption:{actionId:0,reasonId:23,onOtherReason:!1,headerKey:"OTHER",withBackButton:!0,placeholderKey:"OTHER_PLACEHOLDER"}},5:{order:2,actionId:4,reasonId:5,type:r.reason,icon:s,textKey:"REPORT",headerKey:"REPORTED",contentKey:"THANKS",options:[{actionId:2,reasonId:24,textKey:{default:"DONT_LIKE_IT_DEFAULT",micro:"DONT_LIKE_IT_MICRO"}},{actionId:4,reasonId:31,textKey:{default:"POLITICAL_DEFAULT",micro:"POLITICAL_MICRO"}},{actionId:4,reasonId:25,textKey:"PROBLEM_WITH_PICTURE"},{actionId:2,reasonId:26,textKey:{default:"SCAM_DEFAULT",micro:"SCAM_MICRO"}},{actionId:2,reasonId:27,textKey:"ILLEGAL_GOODS"}],otherOption:{actionId:0,reasonId:23,onOtherReason:!1,headerKey:"OTHER",withBackButton:!0,placeholderKey:"OTHER_PLACEHOLDER"}}}},t.socialInitialState={headerKey:{default:"SOCIAL_AD_DEFAULT",micro:"SOCIAL_AD_MICRO"},active:!0,activeTab:"",withCloseIcon:!0,withBackButton:!1,content:{15:{order:1,type:r.reason,actionId:4,reasonId:15,textKey:{default:"NOT_INTERESTED_DEFAULT",micro:"NOT_INTERESTED_MICRO"},headerKey:"REPORTED",contentKey:"THANKS",options:[]},16:{order:2,actionId:4,reasonId:16,type:r.reason,textKey:{default:"POLITICAL_DEFAULT",micro:"POLITICAL_MICRO"},headerKey:"REPORTED",contentKey:"THANKS",options:[]},17:{order:3,actionId:4,reasonId:17,type:r.reason,textKey:{default:"DONT_LIKE_IT_DEFAULT",micro:"DONT_LIKE_IT_MICRO"},headerKey:"REPORTED",contentKey:"THANKS",options:[]},18:{order:3,actionId:4,reasonId:18,type:r.reason,textKey:{default:"LIE_DEFAULT",micro:"LIE_MICRO"},headerKey:"REPORTED",contentKey:"THANKS",options:[]}}},t.copyLinkState={order:1/0,type:r.copyLink,icon:c},t.bugState={type:r.bug,icon:d,textKey:{default:"REPORT_PROBLEM"},order:1/0,onClick:function(e){return(0,o.bug)(e)}},t.advertiserInfoState={order:3,type:r.link,textKey:{default:"ADVERTISER_INFO",micro:"ADVERTISER_INFO"},url:i.ADVERTISER_INFO_URL,actionId:0,reasonId:20,icon:u},t.sizesMatrix={120:{Infinity:"micro"},230:{480:"small",Infinity:"micro"},279:{240:"small",350:"medium",Infinity:"popup-small"},400:{200:"small",237:"medium",Infinity:"popup-small"},Infinity:{239:"small",300:"popup-small",Infinity:"popup"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementByData=void 0,t.getElementByData=function(e,t,r){void 0===r&&(r=document);var i=((0,n(630).getElementsByData)(e,t,r)||[])[0];return i||null}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCurrencyTitle=void 0,t.isCurrencyTitle=function(e){return Boolean(e&&(0,n(44).indexOf)(n(996).currencyTitles,e)>-1)}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styleObjToCss=void 0;var r=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i;t.styleObjToCss=function(e,t){void 0===t&&(t=!1);var n=t?"!important":"",i="";for(var o in e){var a=e[o];null!=a&&(i&&(i+=" "),i+="".concat(o.replace(/([A-Z])/g,"-$1").toLowerCase(),": ").concat(a),"number"==typeof a&&!1===r.test(o)&&(i+="px"),i+=n+";")}return i||void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attachIsolateNode=t.protectedRender=void 0;var r=(0,n(531).hasShadowDomSupport)();function i(e,t){var n={mode:t||"closed"};return e.attachShadow(n)}function o(e){var t=(0,n(238).createFriendlyIFrame)(e,{content:"<!DOCTYPE html><html><head><style>body{display:table}</style></head><body></body></html>"}),r=t.contentDocument.body,i=new(n(628).RafSizeSensor)(r);return i.addResizeHandler((function(o,a){var s=o.width,c=o.height,l=e.parentElement;if(l){var u=(0,n(73).getElementInnerSize)(l);t.width="".concat(Math.max(o.width,u.width),"px"),t.height="".concat(Math.max(o.height,u.height),"px"),s=(u=(0,n(73).getElementInnerSize)(l)).width,c=u.height}t.width="".concat(s,"px"),t.height="".concat(c,"px"),r.style.display="block",a(),i.destroy()})),r}t.protectedRender=r?function(e,t,r,o,a){(0,n(633).disableFastClick)(e);var s=t.stretch?"\n            width: 100% !important;\n            height: 100% !important;\n        ":"",c="exp"===(0,n(0).useExperimentFlag)("FIX_MIN_HEIGHT_NTP")?"\n            min-height: inherit !important;\n            ":"",l=i(e,t.shadowDomMode),u=n(529).getAlias((0,n(960).identify)({prefix:"container"})),d=n(529).getAlias((0,n(960).identify)({prefix:"container"})),p='<div class="'.concat(u,'">\n            <div class="').concat(d,'"></div>\n            <style ').concat(a?"nonce=".concat(a):"",">\n                :host {\n                    all: initial !important;\n                    font-family: inherit !important;\n                    ").concat(s,"\n                    ").concat(c,"\n                }\n                .").concat(u," {\n                    max-width: 100%;\n                }\n                .").concat(d," {\n                    display: table;\n                    table-layout: fixed;\n                    width: 100%;\n                    height: 0;\n                    visibility: hidden;\n                }\n            </style>\n            ").concat(r,"\n        </div>");"exp"===(0,n(0).useExperimentFlag)("TABLE_CONTAINER_REVERSE")&&(p='<div style="max-width: 100%">\n            <style '.concat(a?"nonce=".concat(a):"",">\n                :host {\n                    all: initial !important;\n                    font-family: inherit !important;\n                    ").concat(s,"\n                    ").concat(c,"\n                }\n            </style>\n            ").concat(r,"\n        </div>")),(0,n(969).setInnerHTML)(l,p,a);var f=l.firstChild;return(0,n(5).isString)(o)&&(0,n(957).appendStyle)(o,a,f),f}:function(e,t,r,i,a){var s=o(e);return(0,n(5).isString)(i)&&(0,n(957).appendStyle)(i,a,s),(0,n(969).setInnerHTML)(s,r,a),s},t.attachIsolateNode=function(e,t){return r?i(e,t):o(e)}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildStyles=void 0;var r=n(978),i=null;t.buildStyles=function(e){var t=Object.keys(e).map((function(t){return function(e,t){return(0,r.styleObjToCss)(t)?"".concat(e,"{").concat((0,r.styleObjToCss)(t),"}"):""}(t,e[t])})).join(" ");return{_getContent:function(){return t},_getCss:function(){return t},_insertCss:function(){i||(i=document.createElement("style"),document.body.appendChild(i)),i.innerText+=t}}}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Style=void 0;var r=n(44),i=n(997),o=n(48),a=n(3),s=n(108),c=n(530),l=n(637);t.Style=function(e){var t=e.children,n=e.nonce,u=e.styles,d=e.variables,p=e.checkOnlyShadowRoot,f=(0,c.useRef)(),h=[],v=!1,m=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.forEach((function(e){-1===(0,r.indexOf)(h,e)&&h.push(e)})),v&&g()},g=function(){var e=f.current;if(!v&&e&&!(0,i.isInShadowDom)(e,p)){var t=e.ownerDocument,n=t.defaultView&&(0,o.getHead)(t.defaultView);n&&n.appendChild(e)}if(v=!0,e){var r=e.innerHTML,s=h.map((function(e){return(0,a.isFunction)(e)?e(d):(d&&d.id&&(t=".".concat(d.id)),e._getCss(t));var t})).join("");s!==r&&(e.innerHTML=s)}};return(0,c.useLayoutEffect)(g,[]),u&&m.apply(void 0,u),(0,s.h)(l.StyleContext.Provider,{value:{insertCss:m}},(0,s.h)("style",{ref:f,nonce:n,type:"text/css"}),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ADTUNE_ADVERTISER_INFO_REASON_ID=void 0,t.ADTUNE_ADVERTISER_INFO_REASON_ID="20-0"},,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDefaultTitle=t.getTitle=void 0,t.getTitle=function(e,i,o){var a=n(627).MraidHelpers.isAvailable(),s=(0,n(964).i18nCommon)("ADVERTISEMENT",o);return(0,n(975).isCurrencyTitle)(i)&&(0,t.isDefaultTitle)(e)&&!r()?i:e&&!a?e:s};t.isDefaultTitle=function(e){return"\u042f\u043d\u0434\u0435\u043a\u0441.\u0414\u0438\u0440\u0435\u043a\u0442"===e};var r=function(){return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.currencyTitles=void 0,t.currencyTitles=["&#8381;"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInShadowDom=void 0;var r=(0,n(531).hasShadowDomSupport)();t.isInShadowDom=function(e,t){if(!r&&!t)return!1;for(var n=e;n;){if(n instanceof window.ShadowRoot)return!0;n=n.parentNode}return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.METRIKA_COUNTER=void 0,t.METRIKA_COUNTER=22596877},function(e,t,n){"use strict";var r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.bug=void 0,t.bug=function(e){var t=document.createElement("div");t.style.backgroundColor="rgba(0, 0, 0, 0.5)",t.style.display="flex",t.style.justifyContent="center",t.style.alignItems="center",t.style.position="fixed",t.style.top="0",t.style.left="0",t.style.height="100vh",t.style.width="100vw",t.style.zIndex="100000";var i=e.meta,o=r(e,["meta"]),a=new Blob([i],{type:"application/json"}),s=new FileReader;s.readAsDataURL(a);var c=document.createElement("div");c.style.width="500px",c.style.height="500px",c.style.padding="18px",c.style.borderRadius="20px",c.style.backgroundColor="white",t.appendChild(c);var l=document.createElement("div");l.style.width="100%",l.style.height="5%",l.style.backgroundColor="white",l.style.position="relative",l.style.display="flex",l.style.alignItems="center",c.appendChild(l);var u=document.createElement("div");u.innerText="\u2715",u.style.position="absolute",u.style.right="0",u.style.top="0",u.style.cursor="pointer",u.style.fontSize="18px",l.appendChild(u);var d=document.createElement("iframe");d.style.height="95%",d.style.width="100%",d.style.backgroundColor="white",d.style.border="none",d.setAttribute("src","https://forms.yandex.ru/u/620f8884ff4208efe64f2d3b/?iframe=1&media-type=mobile&theme=compact-long-text-input&lang=ru"),s.onload=function(){var e=s.result;d.onload=function(){var t;null===(t=d.contentWindow)||void 0===t||t.postMessage("pong","*"),setTimeout((function(){var e;null===(e=d.contentWindow)||void 0===e||e.postMessage(n.lv["json"].stringify({message:"set-question-value",slug:"data",value:n.lv["json"].stringify(o)}),"*")}),0),i&&setTimeout((function(){var t,r=new Date,i="meta_".concat(r.toISOString(),".json");null===(t=d.contentWindow)||void 0===t||t.postMessage(n.lv["json"].stringify({message:"set-question-value",slug:"answer_files",value:{format:"dataUrl",dataUrl:e,name:i}}),"https://forms.yandex.ru")}),0)}},c.appendChild(d),document.body.appendChild(t);var p=function e(){t.remove(),t.removeEventListener("click",e),l.addEventListener("click",f),u.addEventListener("click",e)},f=function(e){e.stopPropagation()};t.addEventListener("click",p),l.addEventListener("click",f),u.addEventListener("click",p)}},function(e,t){e.exports='<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.256 17.256a.833.833 0 000-1.179L3.923 2.744a.833.833 0 10-1.179 1.179l1.594 1.593C2.32 6.948 1.25 8.902 1.25 10c0 1.875 3.125 6.25 8.75 6.25a9.83 9.83 0 004.171-.9l1.906 1.906a.833.833 0 001.179 0zm-4.357-3.178a8.309 8.309 0 01-2.899.505c-2.135 0-3.974-.745-5.373-1.997-1.06-.948-1.71-2.1-1.71-2.586 0-.486.65-1.638 1.71-2.586.285-.255.588-.489.909-.7l1.448 1.448A3.333 3.333 0 0011.42 12.6l1.478 1.479zm4.034-.68c1.193-1.223 1.817-2.56 1.817-3.398 0-1.875-3.125-6.25-8.75-6.25-.87 0-1.679.104-2.426.288l1.433 1.434c.324-.037.655-.055.993-.055 2.135 0 3.974.746 5.373 1.997 1.06.948 1.71 2.1 1.71 2.586 0 .425-.497 1.358-1.329 2.219l1.18 1.179z" fill="#498BFF"/></svg>'},function(e,t){e.exports='<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.598 7l2.742 4.75c.68 1.177 1.13 1.96 1.41 2.567.283.614.268.8.267.814a1.25 1.25 0 01-.509.88c-.012.01-.165.115-.838.177-.665.06-1.568.062-2.928.062H7.258c-1.36 0-2.263-.002-2.928-.063-.673-.061-.826-.167-.838-.176a1.25 1.25 0 01-.509-.88c-.001-.015-.016-.2.267-.814.28-.606.73-1.39 1.41-2.567L7.402 7c.68-1.177 1.133-1.959 1.518-2.504.39-.552.558-.632.572-.638a1.25 1.25 0 011.016 0c.014.006.182.086.572.638.385.545.839 1.327 1.518 2.504zm-6.64-.833C7.286 3.87 7.949 2.72 8.815 2.336a2.917 2.917 0 012.372 0c.866.385 1.53 1.534 2.855 3.83l2.743 4.75c1.326 2.298 1.99 3.447 1.89 4.389a2.917 2.917 0 01-1.186 2.055c-.767.557-2.093.557-4.745.557H7.257c-2.653 0-3.98 0-4.746-.557a2.917 2.917 0 01-1.186-2.055c-.1-.942.564-2.091 1.89-4.388l2.743-4.75zM9.995 12.5c-.578 0-1.036.434-1.036 1.036 0 .602.458 1.048 1.036 1.048.59 0 1.048-.446 1.048-1.048 0-.602-.458-1.036-1.048-1.036zM9.02 7.102a.417.417 0 01.416-.435h1.13c.237 0 .426.198.416.435l-.255 4.166a.417.417 0 01-.417.399h-.618a.417.417 0 01-.417-.399L9.02 7.102z" fill="#498BFF"/></svg>'},function(e,t){e.exports='<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.117 7.349a2.5 2.5 0 000 3.535.833.833 0 11-1.179 1.179 4.167 4.167 0 010-5.893l2.946-2.946a4.167 4.167 0 115.893 5.892l-.91.911a.833.833 0 11-1.18-1.178l.911-.911a2.5 2.5 0 00-3.535-3.536L9.117 7.35zm1.767 5.302a2.5 2.5 0 000-3.535.833.833 0 111.178-1.179 4.167 4.167 0 010 5.892l-2.916 2.917a4.167 4.167 0 01-5.893-5.892l.855-.855a.833.833 0 111.178 1.179l-.854.854a2.5 2.5 0 003.535 3.536l2.917-2.917z" fill="#498BFF"/></svg>'},function(e,t){e.exports='<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.36 17.5h2.611v-15h-3.798c-3.82 0-5.828 1.964-5.828 4.856 0 2.31 1.101 3.67 3.065 5.072L5 17.5h2.827l3.799-5.676-1.317-.885c-1.597-1.08-2.374-1.921-2.374-3.734 0-1.597 1.123-2.676 3.26-2.676h1.165V17.5z" fill="#498BFF"/></svg>'},function(e,t){e.exports='<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10zm-2 0a8 8 0 10-16 0 8 8 0 0016 0zm-8.538 5.504c-1.025 0-1.362-.628-1.362-1.21 0-.244.077-.611.138-.825l1.07-4.612h-1.253a.25.25 0 01-.243-.307l.076-.325a.35.35 0 01.28-.265l2.838-.5a.5.5 0 01.573.608L12.14 16.05a.189.189 0 00.33.164l1.165-1.425a.322.322 0 01.514.386l-.7 1.013c-.734 1.07-1.407 1.316-1.988 1.316zm.338-9.862c0 .505.398.933 1.102.933.688 0 1.193-.382 1.346-.994.03-.123.046-.26.046-.368 0-.505-.398-.933-1.102-.933-.673 0-1.193.382-1.346.994-.03.123-.046.26-.046.368z" fill="#498BFF"/></svg>'},function(e,t){e.exports='<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_3900_64736)"><path d="M19.118 10.272h-2.353V6.971l1.47-1.44a.747.747 0 000-1.16.83.83 0 00-1.213 0l-1.507 1.406h-.478c0-2.635-2.243-4.777-5-4.777-2.794 0-5 2.142-5 4.777h-.588L2.94 4.372a.83.83 0 00-1.213 0 .747.747 0 000 1.159l1.507 1.44v3.301H.882c-.514 0-.882.386-.882.843 0 .492.368.843.882.843h2.353v.843c0 1.054.258 2.002.772 2.845l-1.985 1.931a.747.747 0 000 1.16.83.83 0 001.213 0l1.875-1.792c1.066.949 2.464 1.476 4.008 1.476h1.764c1.508 0 2.905-.527 3.97-1.476l1.876 1.791a.83.83 0 001.213 0 .747.747 0 000-1.159l-1.985-1.931a5.378 5.378 0 00.809-2.845v-.843h2.353c.478 0 .882-.351.882-.843 0-.457-.404-.843-.882-.843zm-9.081-7.586c1.764 0 3.235 1.405 3.235 3.09h-6.47c0-1.685 1.433-3.09 3.235-3.09zm.845 14.049v-6.603c0-.211-.22-.422-.44-.422h-.883a.437.437 0 00-.441.422v6.603C6.838 16.735 5 14.979 5 12.8V7.462h10v5.339c0 2.178-1.875 3.934-4.118 3.934z" fill="#498BFF"/></g><defs><clipPath id="clip0_3900_64736"><path fill="#fff" d="M0 0h20v20H0z"/></clipPath></defs></svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.copyToClipBoard=void 0,t.copyToClipBoard=function(e){var t=document.createElement("textarea"),n=window.pageYOffset||document.documentElement.scrollTop;t.style.fontSize="12pt",t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",t.style.top="".concat(n,"px"),t.value=e,document.body.appendChild(t),t.select(),t.setSelectionRange(0,t.value.length);try{document.execCommand("copy")}catch(e){}document.body.removeChild(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.i18nAdTune=void 0;var r=(0,n(166).safeDo)((function(){return n(1128)}),null),i=(0,n(166).safeDo)((function(){return n(1131)}),null)||(0,n(166).safeDo)((function(){return n(1132)}),null)||(0,n(166).safeDo)((function(){return n(1133)}),null)||(0,n(166).safeDo)((function(){return n(1134)}),null)||(0,n(166).safeDo)((function(){return n(1135)}),null)||(0,n(166).safeDo)((function(){return n(1136)}),null)||(0,n(166).safeDo)((function(){return n(1137)}),null)||(0,n(166).safeDo)((function(){return n(1138)}),null)||(0,n(166).safeDo)((function(){return n(1139)}),null)||(0,n(166).safeDo)((function(){return n(1140)}),null)||(0,n(166).safeDo)((function(){return n(1141)}),null);t.i18nAdTune=r?(0,n(166).getI18nWithKeyset)(r,!1):(0,n(166).getI18nWithKeyset)(i,!0)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=a(n(1155)),i=a(n(1598));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n["default"]=e,t&&t.set(e,n),n}var s={browser:r,Color:n(182).Color,dom:n(1245),warning:i};e.exports=s},,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldSlideUp=t.slideUp=t.PREVENTS_BROWSING_ID=void 0,t.PREVENTS_BROWSING_ID="9-1";t.slideUp=function(e,t){n(1245).setImportantCssProperty(e,"overflow","hidden");var r=function(t){var r=Math.round(100*t)/100;n(1245).setImportantCssProperty(e,"height",r+"px")};setTimeout((function(){(0,n(646).animate)({duration:500,start:e.offsetHeight,end:0,onFrame:r,onEnd:function(){var e=n(627).MraidHelpers.getMraid();e&&e.unload&&e.unload(),t()}})}),1e3)};t.shouldSlideUp=function(e,r){var i=window.top!==window.self,o=e.pageId;return!(i&&!(0,n(1644).isTestingPage)(o))&&r===t.PREVENTS_BROWSING_ID}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.open=void 0,t.open=(0,n(7).protect)("open",(function(e){var t=n(627).MraidHelpers.isAvailable();if("string"==typeof e)t?n(627).MraidHelpers.open(window,e):window.open(e,"_blank");else if(!e.defaultPrevented&&t){var r=(0,n(1257).findParent)(e.target,n(1806).isLinkTag,!0);r&&(n(627).MraidHelpers.open(window,r.href),e.preventDefault())}}))},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.REPORTING_EVENT_NAME=t.ReportType=t.BrowserReportType=void 0,function(e){e["CSP_VIOLATION"]="csp-violation",e["INTERVENTION"]="intervention",e["DEPRECATION"]="deprecation",e["FEATURE_POLICY_VIOLATION"]="feature-policy-violation"}(t.BrowserReportType||(t.BrowserReportType={})),function(e){e["EMPTY_REPORT"]="EMPTY_REPORT",e["UNKNOWN_REPORT_TYPE"]="UNKNOWN_REPORT_TYPE",e["NETWORK_USAGE_INTERVENTION_REPORT"]="NETWORK_USAGE_INTERVENTION_REPORT",e["CPU_USAGE_INTERVENTION_REPORT"]="CPU_USAGE_INTERVENTION_REPORT",e["PEAK_CPU_INTERVENTION_REPORT"]="PEAK_CPU_INTERVENTION_REPORT",e["TOTAL_CPU_INTERVENTION_REPORT"]="TOTAL_CPU_INTERVENTION_REPORT",e["TOUCHMOVE_INTERVENTION_REPORT"]="TOUCHMOVE_INTERVENTION_REPORT",e["UNKNOWN_INTERVENTION_REPORT"]="UNKNOWN_INTERVENTION_REPORT",e["FEATURE_POLICY_VIOLATION_REPORT"]="FEATURE_POLICY_VIOLATION_REPORT",e["CSP_VIOLATION_REPORT"]="CSP_VIOLATION_REPORT",e["DEPRECATION_REPORT"]="DEPRECATION_REPORT"}(t.ReportType||(t.ReportType={})),t.REPORTING_EVENT_NAME="BROWSER_REPORTING"},,,,,,,,,,,,,,,function(e,t){e.exports={ADDRESS_AND_PHONE:{cs:"Adresa a telefon",de:"Adresse und Telefonnummer",en:"Address and phone",es:"Direcci\xf3n y tel\xe9fono",pl:"Adres i telefon",pt:"Endere\xe7o e telefone",ru:"\u0410\u0434\u0440\u0435\u0441 \u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d",tr:"Adres ve telefon"},ADVERTISEMENT:{cs:"Reklama",de:"Werbung",en:"Ad",es:"Anuncio",pl:"Reklama",pt:"An\xfancio",ru:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430",tr:"Reklam"},GO:{cs:"J\xedt",de:"\xd6ffnen",en:"Go",es:"Ir",pl:"Przejd\u017a",pt:"Ir",ru:"\u041f\u0435\u0440\u0435\u0439\u0442\u0438",tr:"Hemen Al"},MORE:{cs:"Dal\u0161\xed",de:"Details",en:"More",es:"M\xe1s",pl:"Wi\u0119cej",pt:"Mais",ru:"\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435",tr:"Detayl\u0131"},SURVEY:{cs:"Pr\u016fzkum",de:"Umfrage",en:"Survey",es:"Encuesta",pl:"Ankieta",pt:"Inqu\xe9rito",ru:"\u041e\u043f\u0440\u043e\u0441",tr:"Anket",be:"\u041e\u043f\u0440\u043e\u0441",kk:"\u0428\u043e\u043b\u0443",uk:"\u041e\u0431\u0437\u0456\u0440"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInViewport=t.viewportObserver=void 0;var r=n(195);t.viewportObserver=new r.ViewportObserver,t.isInViewport=r.isInViewport},,,,,,,,,,,,,,,,function(e,t){e.exports={ABOUT_AD_DEFAULT:{cs:"Reklamy s Yandex",de:"Werbung auf Yandex",en:"Ads with Yandex",es:"Anuncios con Yandex",pl:"Reklama na Yandex",pt:"An\xfancios com a Yandex",ru:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430 \u043d\u0430 \u042f\u043d\u0434\u0435\u043a\u0441\u0435",tr:"Yandex'te reklam"},ABOUT_AD_MICRO:{cs:"O firm\u011b",de:"\xdcber die Werbung",en:"About",es:"Sobre",pl:"O reklamie",pt:"Sobre",ru:"\u041e \u0440\u0435\u043a\u043b\u0430\u043c\u0435",tr:"Reklam hakk\u0131nda"},ADVERTISER_INFO:{cs:"Informace o inzerentovi",de:"\xdcber den Werbetreibenden",en:"Advertiser info",es:"Informaci\xf3n del anunciante",pl:"O reklamodawcy",pt:"Informa\xe7\xe3o do anunciante",ru:"\u041e \u0440\u0435\u043a\u043b\u0430\u043c\u043e\u0434\u0430\u0442\u0435\u043b\u0435",tr:"Reklam veren hakk\u0131nda"},AD_DEFAULT:{cs:"Reklama",de:"Werbeanzeige",en:"Ad",es:"Anuncio",pl:"Og\u0142oszenie reklamowe",pt:"An\xfancio",ru:"\u0420\u0435\u043a\u043b\u0430\u043c\u043d\u043e\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435",tr:"Reklam"},AD_MICRO:{cs:"Reklama",de:"Werbung",en:"Ad",es:"Anuncio",pl:"Reklama",pt:"An\xfancio",ru:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430",tr:"Reklam"},ALREADY_PURCHASED_DEFAULT:{cs:"Ji\u017e zakoupeno",de:"Bereits gekauft",en:"Already purchased",es:"Ya comprado",pl:"Ju\u017c kupiono",pt:"J\xe1 comprado",ru:"\u0423\u0436\u0435 \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0442\u0435\u043d\u043e",tr:"Zaten sat\u0131n al\u0131nd\u0131"},ALREADY_PURCHASED_MICRO:{cs:"Zakoupeno",de:"Gekauft",en:"Bought",es:"Comprado",pl:"Nabyto",pt:"Comprado",ru:"\u041f\u0440\u0438\u043e\u0431\u0440\u0435\u0442\u0435\u043d\u043e",tr:"Sat\u0131n al\u0131nd\u0131"},COPIED:{cs:"Zkop\xedrov\xe1no",de:"Kopiert",en:"Copied",es:"Copiado",pl:"Skopiowano",pt:"Copiado",ru:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e",tr:"Kopyaland\u0131"},COPY_DEFAULT:{cs:"Zkop\xedrovat odkaz",de:"Link kopieren",en:"Copy link",es:"Copiar enlace",pl:"Kopiuj link",pt:"Copiar liga\xe7\xe3o",ru:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443",tr:"Ba\u011flant\u0131y\u0131 kopyala"},COPY_MICRO:{cs:"Kop\xedrovat",de:"Kopieren",en:"Copy",es:"Copiar",pl:"Kopiuj",pt:"Copiar",ru:"\u0421\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",tr:"Kopyala"},COVERS_CONTENT_DEFAULT:{cs:"Obsah p\u0159ebal\u016f",de:"\xdcberlagert den Inhalt",en:"Covers content",es:"Cubre el contenido",pl:"Nak\u0142ada si\u0119 na tre\u015b\u0107",pt:"Abrange o conte\xfado",ru:"\u041f\u0435\u0440\u0435\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043d\u0442",tr:"\u0130\xe7eri\u011fin \xfczerini kapl\u0131yor"},COVERS_CONTENT_MICRO:{cs:"P\u0159ekryt\xed",de:"St\xf6rt",en:"Overlaps",es:"Se superpone",pl:"Przeszkadza",pt:"Sobrep\xf5e-se",ru:"\u041c\u0435\u0448\u0430\u0435\u0442",tr:"Ekran\u0131 kapl\u0131yor, izlemeyi engelliyor"},DONT_LIKE_IT_DEFAULT:{cs:"Nel\xedb\xed se mi",de:"Gef\xe4llt mir nicht",en:"I don't like it",es:"No me gusta",pl:"Nie podoba mi si\u0119 to",pt:"N\xe3o gosto disso",ru:"\u041c\u043d\u0435 \u044d\u0442\u043e \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e",tr:"Ho\u015fuma gitmiyor"},DONT_LIKE_IT_MICRO:{cs:"Nep\u0159\xedjemn\xfd",de:"Inhalte",en:"Unpleasant",es:"Desagradable",pl:"Tre\u015b\u0107",pt:"Desagrad\xe1vel",ru:"\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435",tr:"\u0130\xe7erik"},HIDDEN:{cs:"Reklama byla skryta",de:"Anzeige ausgeblendet",en:"Ad was hidden",es:"El anuncio estaba oculto",pl:"Og\u0142oszenie zosta\u0142o ukryte",pt:"O an\xfancio estava oculto",ru:"\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043a\u0440\u044b\u0442\u043e",tr:"Reklam gizlendi"},HIDE_DEFAULT:{cs:"Skr\xfdt tuto reklamu",de:"Anzeige ausblenden",en:"Hide this ad",es:"Ocultar este anuncio",pl:"Ukryj og\u0142oszenie",pt:"Ocultar este an\xfancio",ru:"\u0421\u043a\u0440\u044b\u0442\u044c \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435",tr:"Reklam\u0131 gizle"},HIDE_MICRO:{cs:"Skr\xfdt",de:"Ausblenden",en:"Hide",es:"Ocultar",pl:"Ukryj",pt:"Ocultar",ru:"\u0421\u043a\u0440\u044b\u0442\u044c",tr:"Gizle"},ILLEGAL_GOODS:{cs:"Nez\xe1konn\xe9 zbo\u017e\xed",de:"Illegale Produkte",en:"Illegal goods",es:"Mercanc\xedas ilegales",pl:"Nielegalny towar",pt:"Mercadorias ilegais",ru:"\u041d\u0435\u0437\u0430\u043a\u043e\u043d\u043d\u044b\u0439 \u0442\u043e\u0432\u0430\u0440",tr:"Yasad\u0131\u015f\u0131 \xfcr\xfcn"},LIE_DEFAULT:{cs:"Nespolehliv\xe9 informace",de:"Unzuverl\xe4ssige Informationen",en:"Unreliable info",es:"Informaci\xf3n poco fiable",pl:"Nieprawdziwe informacje",pt:"Informa\xe7\xe3o n\xe3o confi\xe1vel",ru:"\u041d\u0435\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",tr:"Yanl\u0131\u015f bilgi"},LIE_MICRO:{cs:"Nespolehliv\xfd",de:"Unzuverl\xe4ssig",en:"Unreliable",es:"Poco fiable",pl:"Niewiarygodne",pt:"N\xe3o confi\xe1vel",ru:"\u041d\u0435\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u043d\u043e",tr:"G\xfcvenilir de\u011fil"},NOT_INTERESTED_DEFAULT:{cs:"Nezaj\xedm\xe1 mne to",de:"Nicht interessiert",en:"Not interested",es:"No me interesa",pl:"Nie interesuje mnie to",pt:"N\xe3o interessado",ru:"\u041d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442",tr:"\u0130lgilenmiyorum"},NOT_INTERESTED_MICRO:{cs:"Nuda",de:"Kein Interesse",en:"Boring",es:"Aburrido",pl:"Nieciekawe",pt:"Chato",ru:"\u041d\u0435\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e",tr:"\u0130lgilenmiyorum"},OFTEN_DEFAULT:{cs:"Zobrazuje se p\u0159\xedli\u0161 \u010dasto",de:"Zu oft angezeigt",en:"Seen too often",es:"Visto con demasiada frecuencia",pl:"Widz\u0119 to zbyt cz\u0119sto",pt:"Visto com demasiada frequ\xeancia",ru:"\u0412\u0438\u0436\u0443 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0447\u0430\u0441\u0442\u043e",tr:"Bunu \xe7ok s\u0131k g\xf6r\xfcyorum"},OFTEN_MICRO:{cs:"Opakuj\xedc\xed se",de:"Re\xadpe\xadti\xadtiv",en:"Recurring",es:"Recurrente",pl:"Powtarza si\u0119",pt:"Recorrente",ru:"\u041f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442\u0441\u044f",tr:"Tekrarlan\u0131yor"},OTHER:{cs:"Jin\xe9",de:"Sonstiges",en:"Other",es:"Otro",pl:"Inny pow\xf3d",pt:"Outro",ru:"\u0414\u0440\u0443\u0433\u0430\u044f \u043f\u0440\u0438\u0447\u0438\u043d\u0430",tr:"Ba\u015fka bir neden var"},OTHER_PLACEHOLDER:{cs:"Zadejte zpr\xe1vu",de:"Geben Sie Ihre Nachricht ein",en:"Enter your message",es:"Introduce tu mensaje",pl:"Wpisz wiadomo\u015b\u0107",pt:"Escreva a sua mensagem",ru:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435",tr:"Mesaj\u0131n\u0131z\u0131 girin"},POLITICAL_DEFAULT:{cs:"Politick\xe1 reklama",de:"Politische Werbung",en:"Political ad",es:"Anuncio pol\xedtico",pl:"Reklama polityczna",pt:"An\xfancio de pol\xedtica",ru:"\u041f\u043e\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0430",tr:"Siyasi i\xe7erikli reklam"},POLITICAL_MICRO:{cs:"Politika",de:"Politik",en:"Polytics",es:"Pol\xedtica",pl:"Polityka",pt:"Pol\xedtica",ru:"\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430",tr:"Siyasi konulu"},PROBLEM_WITH_PICTURE:{cs:"Probl\xe9m s obr\xe1zkem",de:"Probleme mit Bildanzeige",en:"Problem with picture",es:"Problema con la imagen",pl:"Problemy z obrazem",pt:"Problema com a imagem",ru:"\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u043e\u0439",tr:"G\xf6rsel sorunlu"},REPORT:{cs:"Nahl\xe1sit tuto reklamu",de:"Melden",en:"Report this ad",es:"Denunciar este anuncio",pl:"Zg\u0142o\u015b",pt:"Denunciar este an\xfancio",ru:"\u041f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c\u0441\u044f",tr:"\u015eikayet et"},REPORTED:{cs:"Reklama nahl\xe1\u0161ena",de:"Die Anzeige wurde gemeldet",en:"Ad reported",es:"Anuncio denunciado",pl:"Reklamacja zosta\u0142a zarejestrowana",pt:"An\xfancio denunciado",ru:"\u0416\u0430\u043b\u043e\u0431\u0430 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430",tr:"\u015eikayet kaydedildi"},REPORT_PROBLEM:{en:"Report a bug",ru:"\u0417\u0430\u0440\u0435\u043f\u043e\u0440\u0442\u0438\u0442\u044c \u0431\u0430\u0433"},SCAM_DEFAULT:{cs:"Podvodn\xedci",de:"Betr\xfcgerische Inhalte",en:"Scammers",es:"Estafadores",pl:"To oszu\u015bci",pt:"Golpistas",ru:"\u042d\u0442\u043e \u043c\u043e\u0448\u0435\u043d\u043d\u0438\u043a\u0438",tr:"Doland\u0131r\u0131c\u0131lar"},SCAM_MICRO:{cs:"Podvodn\xedci",de:"Betrug",en:"Scammers",es:"Estafadores",pl:"Oszustwo",pt:"Golpistas",ru:"\u041c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u0442\u0432\u043e",tr:"Doland\u0131r\u0131c\u0131l\u0131k"},SOCIAL_AD_DEFAULT:{cs:"Reklama na soci\xe1ln\xedch m\xe9di\xedch",de:"Werbung f\xfcr soziale Anliegen",en:"Social ad",es:"Anuncio social",pl:"Reklama spo\u0142eczna",pt:"An\xfancio social",ru:"\u0421\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0440\u0435\u043a\u043b\u0430\u043c\u0430",tr:"Kamu hizmet reklam\u0131"},SOCIAL_AD_MICRO:{cs:"Reklama na soci\xe1ln\xedch m\xe9di\xedch",de:"Soziale Werbung",en:"Social ad",es:"Anuncio social",pl:"Reklama spo\u0142eczna",pt:"An\xfancio social",ru:"\u0421\u043e\u0446\u0440\u0435\u043a\u043b\u0430\u043c\u0430",tr:"Kamu hizmet reklam\u0131"},SPECIFY_REASON:{cs:"\u0158ekn\u011bte n\xe1m d\u016fvod",de:"Teilen Sie uns den Grund mit",en:"Tell us why",es:"Dinos por qu\xe9",pl:"Sprecyzuj przyczyn\u0119",pt:"Diga-nos porque",ru:"\u0423\u0442\u043e\u0447\u043d\u0438\u0442\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u0443",tr:"Nedenini a\xe7\u0131klay\u0131n"},SUBMIT:{cs:"Odeslat",de:"Senden",en:"Submit",es:"Enviar",pl:"Wy\u015blij",pt:"Enviar",ru:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c",tr:"G\xf6nder"},THANKS:{cs:"D\u011bkujeme v\xe1m. Moder\xe1tor tuto reklamu brzy zkontroluje",de:"Danke! Die Anzeige wird bald \xfcberpr\xfcft",en:"Thank you. A moderator will soon review the ad",es:"Gracias. Un moderador revisar\xe1 el anuncio en breve.",pl:"Dzi\u0119kuj\u0119! Moderator sprawdzi og\u0142oszenie w najbli\u017cszym czasie",pt:"Obrigado. Um moderador ir\xe1 rever o an\xfancio em breve",ru:"\u0421\u043f\u0430\u0441\u0438\u0431\u043e! \u041c\u043e\u0434\u0435\u0440\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f",tr:"Te\u015fekk\xfcr ederiz! Moderat\xf6r bu reklam\u0131 en k\u0131sa s\xfcrede kontrol edecektir."},WE_WILL_USE:{cs:"Va\u0161e odpov\u011bdi pou\u017eijeme k v\xfdb\u011bru spr\xe1vn\xfdch reklam pro v\xe1s",de:"Wir verwenden Ihre Antworten, um Ihnen personalisierte Werbung anzuzeigen",en:"We'll use your responses to select right ads for you",es:"Usaremos tus respuestas para seleccionar los anuncios adecuados para ti",pl:"Wykorzystujemy Twoje odpowiedzi, aby dobiera\u0107 odpowiedni\u0105 dla Ciebie reklam\u0119",pt:"Usaremos as suas respostas para seleccionar os an\xfancios certos para si.",ru:"\u041c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432\u0430\u0448\u0438 \u043e\u0442\u0432\u0435\u0442\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0442\u044c \u0434\u043b\u044f \u0432\u0430\u0441 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0443\u044e \u0440\u0435\u043a\u043b\u0430\u043c\u0443",tr:"Yan\u0131tlar\u0131n\u0131z\u0131, sizin i\xe7in en uygun olacak reklamlar\u0131 se\xe7ip size bunlar\u0131 sunabilmek i\xe7in kullan\u0131r\u0131z"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByDataFromMap=void 0,t.getElementsByDataFromMap=function(e,t,r){void 0===r&&(r="name");var i={};return Object.keys(e).forEach((function(o){i[o]=(0,n(972).getElementByData)(r,e[o],t)})),i}},,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.vsync=t.Vsync=void 0;var r=function(){function e(){var e=this;this.boundRunScheduledTasks=function(){return e.runScheduledTasks_()},this.raf=(0,n(1354).getRAF)(window),this.tasks=[],this.nextTasks=[],this.states=[],this.nextStates=[],this.scheduled=!1,this.nextFrameResolver=null,this.nextFramePromise=null}return e.prototype.measure=function(e){this.run({measure:e,mutate:void 0})},e.prototype.measurePromise=function(e){var t=this;return new Promise((function(n){t.measure((function(){n(e())}))}))},e.prototype.mutate=function(e){this.run({measure:void 0,mutate:e})},e.prototype.mutatePromise=function(e){return this.runPromise({measure:void 0,mutate:e})},e.prototype.run=function(e,t){this.tasks.push(e),this.states.push(t||void 0),this.schedule()},e.prototype.runPromise=function(e,t){if(this.run(e,t),this.nextFramePromise)return this.nextFramePromise;var r=new(n(105).Deferred);return this.nextFrameResolver=r.resolve,this.nextFramePromise=r.promise},e.prototype.schedule=function(){this.scheduled||(this.scheduled=!0,this.forceSchedule())},e.prototype.forceSchedule=function(){this.raf(this.boundRunScheduledTasks)},e.prototype.runScheduledTasks_=function(){this.scheduled=!1;var e=this.tasks,t=this.states,n=this.nextFrameResolver;this.nextFrameResolver=null,this.nextFramePromise=null,this.tasks=this.nextTasks,this.states=this.nextStates;for(var r=0;r<e.length;r++){var o=e[r].measure;o&&(i(o,t[r])||(e[r].mutate=void 0))}for(r=0;r<e.length;r++){var a=e[r].mutate;a&&i(a,t[r])}this.nextTasks=e,this.nextStates=t,this.nextTasks.length=0,this.nextStates.length=0,n&&n()},e}();function i(e,t){try{e(t)}catch(e){return(0,n(7).rethrowAsync)(e,"Vsync"),!1}return!0}t.Vsync=r,t.vsync=new r},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVisibilityRatio=void 0,t.getVisibilityRatio=function(e){return Number((0,n(497).getRatioInViewport)(e).toFixed(2))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adaptImageToContainer=t.destroyAdaptiveImageClientCode=t.initAdaptiveImageClientCode=t.getSelectedImageFromContainer=t.getCroppedRectFromContainer=void 0;var r=n(646),i=n(90),o=n(4),a=n(19),s=n(2),c=n(188),l=n(189),u=n(241),d=n(653),p=n(656),f=n(972),h=n(559),v=n(1748),m=n(15),g=n(498),_=n(638),y=new d.AnimationQueue({delay:1e3}),b={};function C(e){if(!u.isIntersectionObserverSupported)return"";var t=e.lazyLoadContainer;if(t){var n=t.dataset.observerId||(0,_.generateId)();return(0,g.setAttributes)(t,{"data-observer-id":n}),O(n,e)}return O("default",e)}function O(e,t){if(b[e])return e;var n=t.lazyLoadContainer,r=t.lazyLoadMargin;return b[e]={watchers:0,observer:new IntersectionObserver((function(e){(0,s.forEach)(e,(function(e){if(e.isIntersecting){var n=e.target,r=n.getAttribute("data-src");(0,g.setAttributes)(n,{src:r}),S(n,t)}}))}),{root:n||null,rootMargin:r})},e}var E={};function A(e){var t=(0,f.getElementByData)("name","adaptiveImageContainer",e);if((null==t?void 0:t.dataset.croppedWidth)&&(null==t?void 0:t.dataset.croppedHeight))return{width:parseInt(t.dataset.croppedWidth,10),height:parseInt(t.dataset.croppedHeight,10)}}function I(e){var t=(0,f.getElementByData)("name","adaptiveImageContainer",e),n=(0,f.getElementByData)("name","adaptiveImageTransform",e),r=(0,f.getElementByData)("name","adaptiveImage",e);if(!t||!n||!r)return null;var i=parseFloat(t.dataset.x),o=parseFloat(t.dataset.y),a=parseFloat(t.dataset.width),s=parseFloat(t.dataset.height);return{width:a,height:s,originWidth:a,originHeight:s,ratio:a/s,src:r.src,containerWidth:t.clientWidth,containerHeight:t.clientHeight,bgPosition:{x:i,y:o}}}t.getCroppedRectFromContainer=A,t.getSelectedImageFromContainer=I;function S(e,t){var n="IMG"===e.tagName?e:(0,f.getElementByData)("name","adaptiveImage",e),r=C(t),i=b[r];i&&n&&(i.observer.unobserve(n),i.watchers--,i.watchers<=0&&(i.observer.disconnect(),delete b[r]))}function T(e,t){E[t]&&((0,p.removeObserver)(t,e),E[t].onStop(o.noop),y.remove(E[t]),delete E[t])}t.initAdaptiveImageClientCode=function(e,t,n){var o=I(e);if(o){var a=n.enableAnimation,s=n.animationCount,c=n.lazyLoadContainer,l=n.lazyLoadMargin,u=a&&(s||1/0);u&&function(e,t,n){var o,a=(0,f.getElementByData)("name","adaptiveImageContainer",e),s=(0,f.getElementByData)("name","adaptiveImageTransform",e),c=(0,f.getElementByData)("name","adaptiveImage",e);if(!a||!s||!c)return;var l=!1,u=0,d={onStart:function(e){u++,o=function(e,t,n,o){var a,s=Number(e.getAttribute("data-x")),c=Number(e.getAttribute("data-y")),l=e.getBoundingClientRect(),u=l.width,d=l.height,p=n.getBoundingClientRect(),f=p.width,h=p.height,v=f>u,m=s,g=c,_=1;a=v?Math.acos(2*s-1)/Math.PI:-Math.asin(2*c-1)/Math.PI;var y=a*Math.PI,b=0;f*h/(u*d)<1.3&&(b=.2);var C=function(e,n,r){void 0===r&&(r=1),e=Math.max(0,Math.min(1,e)),n=Math.max(0,Math.min(1,n));var o=-(f-u)/f*e*100,a=-(h-d)/h*n*100;(0,i.setStyle)(t,{transform:"translate(".concat(o,"%, ").concat(a,"%) scale(").concat(r,")"),"transform-origin":"".concat(100*e,"% ").concat(100*n,"%")})};return(0,r.animate)({duration:8e3,start:0,end:1,onFrame:function(e){var t=1;e<.3?t=e/.3:e>.7&&(t=(1-e)/.3),t=function(e){return e<.5?2*e*e:(4-2*e)*e-1}(t),_=t*b+1;var n=e*Math.PI*2+y;v?m=(1+Math.cos(n))/2:g=(1+Math.sin(-n))/2,C(m,g,_)},onEnd:function(){C(s,c),o()}})}(a,s,c,(function(){d.onStop(e)}))},onStop:function(e){null==o||o.stop(),l&&u<n?y.push(d):u=0,e()}};T(e,t),E[t]=d,(0,p.addObserver)(t,(function(e){var t=e.inScreen;l=t,t?y.push(d):(y.remove(d),u=0)}),e)}(e,t,u),function(e,t){var n=(0,f.getElementByData)("name","smartCenterContainer",e);if(!n)return;var r={x:parseFloat(n.dataset.x),y:parseFloat(n.dataset.y),w:parseFloat(n.dataset.width),h:parseFloat(n.dataset.height)};(0,i.setStyle)(n,{left:t.containerWidth/t.originWidth*Number(r.x),top:t.containerHeight/t.originHeight*Number(r.y),width:t.containerWidth/t.originWidth*Number(r.w),height:t.containerHeight/t.originHeight*Number(r.h)})}(e,o),function(e,t){var n=(0,f.getElementByData)("name","adaptiveImage",e),r=null==n?void 0:n.getAttribute("data-src");if(!r||!n)return;var i=b[C(t)];if(i)return i.observer.observe(n),void i.watchers++;n.setAttribute("src",r)}(e,{lazyLoadContainer:c,lazyLoadMargin:l})}},t.destroyAdaptiveImageClientCode=function(e,t,n){T(e,t),S(e,n||{})},t.adaptImageToContainer=function(e){var t=(0,f.getElementByData)("name","adaptiveImageContainer",e),n=(0,f.getElementByData)("name","adaptiveImageTransform",e),r=(0,f.getElementByData)("name","adaptiveImage",e),i=I(e);if(t&&n&&r&&i){m.logger.traceLog({placeWidth:t.offsetWidth,placeHeight:t.offsetHeight,imageWidth:i.originWidth,imageHeight:i.originHeight,imageSrc:i.src,pixelRatio:(0,c.getPixelRatio)(),bandwidth:(0,l.getDownlink)()},"SSR_IMAGE_INFO",1);var o=A(e),s=(0,h.getImageScaleModifier)(i,o);if(null==t?void 0:t.dataset.hasOwnProperty("needsAdapt")){var u=(0,v.getImageStyles)(i,s);(0,a.forOwn)(u,(function(e,t){n.style[t]=e}))}}}},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getVisibilityContainer=t.getContainer=void 0;t.getContainer=function(e,t,n){return e},t.getVisibilityContainer=function(e){return e}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.support=t.getDeviceName=t.getBrowserName=t.testProperty=t.flashVer=t.isHDPIScreen=t.isPhone=t.isMobile=t.isWindowsPhone=t.androidVersion=t.isAndroid=t.iOSVersion=t.isIOS=t.isUCBrowser=t.isYaBrowser=t.isChrome=t.isFirefox=t.isSafariBasedBrowser=t.safariVersion=t.isSafari=t.isEdge=t.isIEQuirks=t.isIE=t.isIE11=t.isIE10=t.ieVersion=t.isOperaMini=t.isOpera=t.isQuirks=void 0;var r=window;t.isQuirks=(0,n(330).getIsQuirks)(r),t.isOpera=(0,n(1588).isOpera)(r),t.isOperaMini=(0,n(663).isOperaMini)(r),t.ieVersion=(0,n(131).getInternetExplorerVersion)(r),t.isIE10=10===t.ieVersion,t.isIE11=11===t.ieVersion,t.isIE=t.ieVersion>0,t.isIEQuirks=(0,n(330).getIsIEQuirks)(r),t.isEdge=t.ieVersion&&t.ieVersion>11||!1,t.isSafari=(0,n(259).getIsSafari)(r),t.safariVersion=(0,n(1589).getSafariVersion)(r),t.isSafariBasedBrowser=(0,n(287).getIsSafariBasedBrowser)(r),t.isFirefox=(0,n(284).isFirefox)(r),t.isChrome=(0,n(1430).getIsChrome)(r),t.isYaBrowser=(0,n(1327).getIsYaBrowser)(r),t.isUCBrowser=(0,n(288).isUCBrowser)(r),t.isIOS=(0,n(185).getIsIOS)(r),t.iOSVersion=(0,n(1590).getIOSVersion)(r),t.isAndroid=(0,n(675).getIfIsAndroid)(r),t.androidVersion=(0,n(673).getAndroidVersion)(r),t.isWindowsPhone=(0,n(714).isWindowsPhone)(r),t.isMobile=(0,n(150).isMobile)(r),t.isPhone=(0,n(1591).isPhone)(r),t.isHDPIScreen=(0,n(1593).isHDPIScreen)(r),t.flashVer=[0,0,0],Object.defineProperty(t,"testProperty",{enumerable:!0,get:function(){return n(323).testProperty}}),Object.defineProperty(t,"getBrowserName",{enumerable:!0,get:function(){return n(1594).getBrowserName}}),t.getDeviceName=function(){return(t.isPhone?"phone":t.isMobile&&"tablet")||"desktop"},t.support={cssFlex:n(1286).isCssFlexSupported,cssTransform:n(1286).isCssTransformSupported,cssTransition:n(1286).isCssTransitionSupported,cssFilterBlur:n(1286).isCssFilterBlurSupported,touch:(0,n(130).isTouchDevice)(r),postMessage:(0,n(1595).getIsPostMessageSupported)(r),longUrls:(0,n(343).getIsLongUrlSupported)(r)}},function(e,t,n){"use strict";t.__esModule=!0,t.BemFormatter=function(e){return function(){if(!arguments.length)return e;for(var t=[],n=0;n<arguments.length;){var i=arguments[n++];if((0,r.isString)(i))for(var o=i.split(" "),a=0;a<o.length;){var s=o[a++];if(s){var c=s[0];"_"===c||"-"===c?t.push(e+s):t.push(s)}}}return t.join(" ")}};var r=n(5)},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractZen2BannerController=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){this.initObserver(),e.prototype.init.call(this)},t.prototype.initObserver=function(){var e=this.getContainer();if(e&&e.dataset.hasOwnProperty("shouldCheckTheme")){this.setCurrentTheme();var t=new MutationObserver(this.setCurrentTheme.bind(this));t.observe(document.documentElement,{attributeFilter:["class"],attributes:!0}),this.doOnDestroy((function(){return t.disconnect()}))}},t.prototype.setCurrentTheme=function(){var e=this.getContainer();if(e){var t=this.getAlias("theme_black"),n=document.documentElement.classList.contains("document_dark_yes"),r=e.classList.contains(t);n&&!r?e.classList.add(t):!n&&r&&e.classList.remove(t)}},t}(n(629).Destroyable);t.AbstractZen2BannerController=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageElements=void 0,t.imageElements={image:"zen2-image-element",imageContainer:"zen2-image-container-element",imageStub:"zen2-image-stub",imageWrapper:"zen2-image-wrapper",imageAdaptive:"zen2-image-adaptive"}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.TargetUrlLink=void 0;var i=n(1332),o=n(711),a=n(5),s=n(315),c=n(15),l=(0,o.isNativeSendBeaconSupported)(window),u=function(){function e(e,t,n,r){var i=this;this.toString=function(){return i.getRedirect()},this.redirectUrl=e,this.targetUrl=t,this.useSendBeacon=n,this.useIntentLink=r}return e.prototype.getRedirect=function(){return new s.Url({host:this.redirectUrl}).getUrl()},e.prototype.shouldUseSendBeacon=function(){return l&&(0,a.isString)(this.targetUrl)&&Boolean(this.useSendBeacon)},e.prototype.shouldUseIntentLink=function(){return Boolean(this.useIntentLink)},e.prototype.sendViaSendBeacon=function(e,t){var n=(0,i.extendUrl)(this.getRedirect(),r({beacon:"1"},e),t),o=new s.Url({host:n}).getUrl();try{window.navigator.sendBeacon(o)}catch(e){c.logger.error(new Error("Could not send beacon with url ".concat(o)))}},e.prototype.getBeaconWithQueryArg=function(){return new s.Url({host:this.getRedirect(),params:{beacon:1}}).getUrl()},e.prototype.getTargetUrl=function(){var e=this.shouldUseSendBeacon()?this.targetUrl:this.redirectUrl;return"".concat(e)},e}();t.TargetUrlLink=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelize=void 0,t.camelize=function(e){return e.replace(/[-|_\:]([a-z])/g,(function(e,t){return t.toUpperCase()}))}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.asyncCollectMarks=void 0;var o=function(){function e(e,t,n){void 0===n&&(n=0),this.name=e,this.startTime=t,this.duration=n}return e.prototype.toJSON=function(){return{name:this.name,startTime:this.startTime,duration:this.duration}},e}(),a=["total"];function s(e){var t=l(e,n(27).RenderMarks.AdvManagerLoader),r=l(e,n(27).RenderMarks.AdvManagerRender),i=-1,o=n(27).RenderMarks.AdvManagerLoader;return t?i=t.startTime:r&&(o=n(27).RenderMarks.AdvManagerRender,i=r.startTime),{initMark:o,startTime:i}}function c(e,t){(0,n(152).loadRum)().then((function(){var c=function(e){var t=s(e),r=t.startTime,a=t.initMark,c=l(e,n(27).RenderMarks.OnRenderCalled),d=u(e,a,n(27).RenderMarks.OnRenderCalled,"total"),p=u(e,a,n(27).RenderMarks.ReadyForRendering,"loading"),f=u(e,a,n(27).RenderMarks.ContentfulRender,"contentfulRendering"),h=new o("renderFromNavigation",0,null==c?void 0:c.startTime),v=u(e,n(27).RenderMarks.AdvManagerLoader,n(27).RenderMarks.DataLoaded,"fullDataLoading"),m=u(e,n(27).RenderMarks.AdvManagerLoader,n(27).RenderMarks.DataLoadOutOfQueue,"dataLoadingInQueue"),g=u(e,n(27).RenderMarks.SmartQueueWaitStart,n(27).RenderMarks.SmartQueueWaitEnd,"smartQueueWaiting"),_=u(e,n(27).RenderMarks.DataLoadOutOfQueue,n(27).RenderMarks.DataLoaded,"dataLoadingBS"),y=u(e,n(27).RenderMarks.DataLoaded,n(27).RenderMarks.AdvManagerLoaded,"advManagerLoading"),b=u(e,n(27).RenderMarks.DepsLoadStart,n(27).RenderMarks.ReadyForRendering,"depsLoading"),C=u(e,n(27).RenderMarks.StartDomRendering,n(27).RenderMarks.StopDomRendering,"domRendering"),O=u(e,n(27).RenderMarks.StartDetector,n(27).RenderMarks.StartEffectRendering,"pendingDetect"),E=u(e,n(27).RenderMarks.StopDomRendering,n(27).RenderMarks.StartEffectRendering,"waitingLayout"),A=u(e,n(27).RenderMarks.StartEffectRendering,n(27).RenderMarks.StopEffectRendering,"effectRendering"),I=u(e,n(27).RenderMarks.StartDomRendering,n(27).RenderMarks.StopEffectRendering,"totalRendering"),S=i(i(i(i(i(i(i(i(i(i(i(i(i(i(i([],p,!0),v,!0),m,!0),_,!0),y,!0),b,!0),g,!0),C,!0),O,!0),E,!0),A,!0),I,!0),d,!0),f,!0),[h],!1);S.sort((function(e,t){return e.startTime+e.duration-(t.startTime+t.duration)}));var T={startTime:r};return(0,n(2).forEach)(S,(function(e){T[e.name]=e.duration})),T}(e),d=function(e){var t=s(e).startTime,r=l(e,n(27).RenderMarks.ContextJs),i=(0,n(197).getContextJsTimings)(),o=i.CONTEXT_JS_LOAD_START,a=i.CONTEXT_JS_LOAD_END,c=i.CONTEXT_JS_EXEC_START,u={};return r&&o&&a&&(u.waitContextJsBeforeLoad=o,u.waitContextJsLoad=a-o,u.waitContextJsParse=c-a,u.waitContextJsExecToRender=t-c,u.waitContextJs=t-o),u}(e),p=(null==t?void 0:t.externalDeltas)||{};null==t||delete t.externalDeltas,(0,n(27).clearMarks)(e);var f=r(r(r({},p),c),d);d.waitContextJs&&c.total&&(f.ultimateTotal=d.waitContextJs+c.total);var h=r({},t),v=(0,n(62).getStatus)(e);null!==v&&(h.isInViewportOnRenderComplete=h.isInViewport,h.isInViewport=v.wasAdSeen,f.adSeenWaiting=v.total),(0,n(2).forEach)(a,(function(e){f["".concat(e,"_type_").concat(h.type)]=f[e]})),(0,n(19).forOwn)(f,(function(e,t){f[t]=Math.round(e)})),(0,n(332).sendRumDeltas)(f,h)}))}function l(e,t){var r="".concat(e,"_").concat(t),i=(0,n(27).getMarksByName)(r);return i.length?i[i.length-1]:null}function u(e,t,r,i){void 0===i&&(i="".concat(t," - ").concat(r));var a="".concat(e,"_").concat(t),s="".concat(e,"_").concat(r),c=(0,n(27).getMarksByName)(a),l=(0,n(27).getMarksByName)(s),u=[];if(c.length&&l.length){var d=c.concat(l).sort((function(e,t){return e.startTime-t.startTime})),p=0;(0,n(2).forEach)(d,(function(e){if(e.name===a)p=e.startTime;else if(p<=e.startTime){var t=new o(i,p,e.startTime-p);u.push(t)}}))}return u}t.asyncCollectMarks=function(e,t){(0,n(27).isPerfLogging)()&&n(7).protect.setTimeout((function(){return c(e,t)}),0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preventMissClicks=t.getPreventMissClicksScript=void 0;var r,i=100;t.getPreventMissClicksScript=function(){return r||(r=["<scr",'ipt>"use strict";(',n(1341).preventClicks,")(document,",i,")</scr","ipt>"].join(""))},t.preventMissClicks=function(e,t){e&&(0,n(1341).preventClicks)(e,t||i)}},,,function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.FaviconController=void 0;var o=n(629),a=n(1129),s=n(1462),c=n(1762);var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this,t=this.props.container;this.elements=function(e){var t=(0,a.getElementsByDataFromMap)(s.faviconElements,e);return null===t.container&&e.dataset.name===s.faviconElements.container&&(t.container=e),t}(t);var n=this.elements.icon;n?n.complete?this.checkLoadedImage():(n.addEventListener("load",this.checkLoadedImage.bind(this)),n.addEventListener("error",this.showDefaultIcon.bind(this)),this.doOnDestroy((function(){n.removeEventListener("load",e.checkLoadedImage.bind(e)),n.removeEventListener("error",e.showDefaultIcon.bind(e))}))):this.showDefaultIcon()},t.prototype.checkLoadedImage=function(){var e,t=this.elements,n=t.icon,r=t.container;e=n,Math.min(e.naturalHeight,e.naturalWidth)>1?r&&(r.dataset.status="loaded"):this.showDefaultIcon()},t.prototype.showDefaultIcon=function(){var e=this.elements,t=e.icon,n=e.defaultIcon,r=e.container;r&&(r.dataset.status="default"),t&&n&&r&&(t.classList.add(c("hide",this.props.salt)),n.classList.remove(c("hide",this.props.salt)))},t}(o.Destroyable);t.FaviconController=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INTERSCROLLER_BACKGROUND=t.INTERSCROLLER_MOBILE_SETTINGS=t.INTERSCROLLER_DESKTOP_SETTINGS=void 0,t.INTERSCROLLER_DESKTOP_SETTINGS={minHorizontalPadding:32,interAdPadding:16,verticalPadding:16,adHeight:300,minAspectRatio:1,maxAspectRatio:4/3},t.INTERSCROLLER_MOBILE_SETTINGS={outerPadding:16,innerAdPadding:8,aspectRatio:4/3,contentEars:64},t.INTERSCROLLER_BACKGROUND="#000033"},,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=t.getMraid=void 0;var r=(0,n(13).once)((function(e){try{var t=n(627).MraidHelpers.getMraid(e);if(!t)return;return t.addEventListener("error",(function(e,t){n(15).logger.error(new Error(e),"MRAID_error_".concat(t))})),t}catch(e){return}}));t.getMraid=function(e){return void 0===e&&(e=window),r(e)},t.on=function(e,t){var r=(0,n(7).protect)("MRAID_Listener_".concat(e),t);return n(627).MraidHelpers.on(window,e,r)}},function(e,t,n){"use strict";t.__esModule=!0,t.genRnd=function(){return Math.abs(+new Date)+Math.round(1e4*Math.random())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CarouselDirection=t.CarouselOrientation=t.CAROUSEL_INDICATOR_PAGE_NAME=t.CAROUSEL_SLIDE_NAME=t.CAROUSEL_INNER_TRACK_NAME=t.CAROUSEL_TRACK_NAME=t.CAROUSEL_NEXT_BUTTON_NAME=t.CAROUSEL_PREV_BUTTON_NAME=void 0,t.CAROUSEL_PREV_BUTTON_NAME="carousel-prev-button",t.CAROUSEL_NEXT_BUTTON_NAME="carousel-next-button",t.CAROUSEL_TRACK_NAME="carousel-track",t.CAROUSEL_INNER_TRACK_NAME="carousel-inner-track",t.CAROUSEL_SLIDE_NAME="carousel-slide",t.CAROUSEL_INDICATOR_PAGE_NAME="carousel-indicator-page",function(e){e["VERTICAL"]="vertical",e["HORIZONTAL"]="horizontal"}(t.CarouselOrientation||(t.CarouselOrientation={})),function(e){e["NEXT"]="next",e["PREV"]="prev"}(t.CarouselDirection||(t.CarouselDirection={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasScrollInElement=t.AXIS=void 0;var r;!function(e){e[e["X"]=0]="X",e[e["Y"]=1]="Y"}(r=t.AXIS||(t.AXIS={})),t.hasScrollInElement=function(e,t){var n;void 0===t&&(t={});var i=null!==(n=t.maxScroll)&&void 0!==n?n:1;return function(e,t,n){switch(n){case r.X:return e;case r.Y:return t}return e||t}(e.scrollWidth-e.clientWidth>i,e.scrollHeight-e.clientHeight>i,t.axis)}},function(e,t,n){"use strict";function r(e,t){var n=e.querySelector('[data-name="'.concat(t,'"]'));return null!=n?n:void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.getRehydratedElement=t.findRehydratedElement=void 0,t.findRehydratedElement=r,t.getRehydratedElement=function(e,t){var n=r(e,t);if(!n)throw new Error("Cannot find rehydrated element [".concat(t,"]"));return n}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r,i=(r=n(250))&&r.__esModule?r:{default:r};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){}(s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},s,{},i["default"])).querySelector=function(e,t){if("string"!=typeof e)return e;var r=e.slice(0,1),i=e.slice(1);switch(r){case"#":return(0,n(120).getElementById)(i);case".":return s.getElementsByClassName(i,t);default:return(0,n(12).map)((t||document).getElementsByTagName(e),(function(e){return e}))}},s.getElementsByClassName=function(e,t){if(t=t||document,(0,n(16).checkNativeCode)(t.getElementsByClassName))return Array.prototype.slice.call((0,n(341).getElementsByClassName)(e,t));var r=t.getElementsByTagName("*");return(0,n(18).filter)(r,(function(t){return s.hasClass(t,e)}))};var c=i["default"].setStyle;s.setImportantCssProperty=i["default"].setStyle=function(e,t,r){(0,n(14).isObject)(t)?c(e,t,!0):c(e,t,r,!0)},e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFullscreen=t.getFullscreenSettings=void 0,t.getFullscreenSettings=function(e){var t=e.fullscreenDuration,n=void 0===t?10:t,r=e.fullscreenCloseButtonVisibilityTimeout;return{duration:n,closeButtonVisibilityTimeout:r?1e3*r:r}},t.isFullscreen=function(e){var t=e;return!!(0,n(14).isObject)(t)&&(Boolean(t.fullscreen)||Boolean(t.rewarded))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldShowAdtune=void 0;t.shouldShowAdtune=function(e){if(e.isInOverlay&&e.isInOverlay())return!1;if(e.isApp())return!1;var t=n(627).MraidHelpers.getMraid();return!(e.isSSP&&e.isSSP()&&(t&&"3.0"===t.getVersion()||e.getSettings&&e.getSettings().hideAdtuneInSsp))}},,function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.WarningSizeController=void 0;var o=n(629),a=n(34),s=n(643),c=n(320),l=n(1129),u=n(628),d=n(1461);var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){e.prototype.init.call(this);var t=this.props.container;this.elements=function(e){return(0,l.getElementsByDataFromMap)(d.importantWarningElements,e)}(t);var n=new u.RafSizeSensor(t);this.doOnDestroy((function(){return n.destroy()})),this.checkSize();var r=(0,s.throttle)(this.checkSize,300,this);n.addResizeHandler((function(e,t){r(),t()}))},t.prototype.checkSize=function(){var e=this.props.container,t=this.elements.warningImportant,n=void 0!==(null==t?void 0:t.dataset["warningShouldCheckSize"]);if(e&&t&&n){var r=(0,a.getBoundingClientRect)(e),i=(0,a.getBoundingClientRect)(t),o=t.dataset["warningType"],s=r.width*r.height*(0,c.getWarningMinSquareRatio)(o),l=Math.ceil(s/i.width);t.style.setProperty("height","".concat(l,"px"))}},t}(o.Destroyable);t.WarningSizeController=p},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adaptive0418Blocks=void 0,t.adaptive0418Blocks={"240x400":{limit:2,width:240,height:400},"300x250":{limit:1,width:300,height:250},"300x300":{limit:2,width:300,height:300},"300x500":{limit:2,width:300,height:500},"300x600":{limit:2,width:300,height:600},"728x90":{limit:1,width:728,height:90},modernAdaptive:{measurer:"modernAdaptive",limit:1},horizontal:{measurer:"horizontal",advMinSquare:55e3},"160x600":{limit:2,width:160,height:600},"200x300":{limit:1,width:200,height:300},"250x250":{limit:1,width:250,height:250},"1000x120":{limit:3,width:1e3,height:120},"320x100":{limit:1,width:320,height:100},"336x280":{limit:1,width:336,height:280},"400x240":{limit:2,width:400,height:240},"480x320":{limit:2,width:480,height:320},adaptive:{measurer:"adaptive"},"970x90":{limit:2,width:970,height:90},"970x250":{limit:4,width:970,height:250}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transport=void 0;var r=(0,n(13).once)((function(){return!(0,n(26).checkBundleType)(n(26).bundleTypes.mobileSdk)&&!(0,n(26).checkBundleType)(n(26).bundleTypes.SSP)&&!(0,n(1582).isCookieHostIgnored)()}));t.transport={cookieMatching:(0,n(13).once)((function(e,t){r()&&(0,n(1583).cookieMatching)(e,t)})),initSupportLogic:(0,n(13).once)((function(e){r()&&((0,n(1584).initAFPixel)(e),n(7).protect.setTimeout((function(){return(0,n(1585).initRsyaTagUser)(e)}),2e3))})),confirmUrls:n(558).confirmUrls}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findParent=void 0;t.findParent=function(e,t,n){void 0===n&&(n=!1);for(var r=n?e:e.parentNode;r&&1===r.nodeType;){if(t(r))return r;r=r.parentNode}return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZEN_FEEDBACK_POPUP_BUTTON_DATA_NAME=void 0,t.ZEN_FEEDBACK_POPUP_BUTTON_DATA_NAME="zen2-feedback-popup-button"},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2FeedbackPopupClientCode=void 0;var o=n(629),a=n(972),s=n(630),c=n(1757),l=n(1258),u=n(1459),d=n(1302),p=n(1362),f=n(1759);var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this.props.container;this.elements=function(e){var t=(0,a.getElementByData)("name",u.ZEN_FEEDBACK_POPUP_DATA_NAME,e);return{feedbackPopup:t,feedbackPopupButton:(0,a.getElementByData)("name",l.ZEN_FEEDBACK_POPUP_BUTTON_DATA_NAME,e),feedbackReasons:t&&(0,s.getElementsByData)("name",d.ZEN_FEEDBACK_REASON_DATA_NAME,t)||[],feedbackTicker:(0,a.getElementByData)("name",c.feedbackPopupElements.ticker,e)}}(e),this.initContextMenu(),this.initFeedbackReasons()},t.prototype.initContextMenu=function(){var e=this.props,t=e.container,n=e.salt,r=e.abuseUrl,i=this.elements,o=i.feedbackPopup,a=i.feedbackPopupButton;o&&a&&(this.contextMenuClientCodeWorker=new p.Zen2ContextMenuClientCode({container:t,contextMenu:o,contextMenuButton:a,salt:n,abuseUrl:r,onOpen:this.handleOpenMenu.bind(this),onClose:this.handleCloseMenu.bind(this)}),this.addResource("contextMenu",this.contextMenuClientCodeWorker))},t.prototype.initFeedbackReasons=function(){for(var e=this,t=this.elements.feedbackReasons,n=0;n<t.length;n++)this.addEventListener(t[n],"click",(function(){e.contextMenuClientCodeWorker.close()}))},t.prototype.handleOpenMenu=function(){var e,t=this.props,n=t.salt,r=t.onOpenMenu;null===(e=this.elements.feedbackTicker)||void 0===e||e.classList.add(f("tickerAnimation",n)),r&&r()},t.prototype.handleCloseMenu=function(){var e,t=this.props,n=t.salt,r=t.onCloseMenu;null===(e=this.elements.feedbackTicker)||void 0===e||e.classList.remove(f("tickerAnimation",n)),r&&r()},t}(o.Destroyable);t.Zen2FeedbackPopupClientCode=h},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2LegalInfoCheckSize=t.Zen2LegalInfoPopupClientCode=void 0;var o=n(629),a=n(643),s=n(648),c=n(1129),l=n(628),u=n(1362),d=n(1363),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){this.initContextMenu()},t.prototype.initContextMenu=function(){var e=this.props,t=e.container,n=e.salt,r=e.abuseUrl,i=(0,c.getElementsByDataFromMap)(d.legalInfoElements,t),o=i.legalInfoButton,a=i.legalInfoPopup;o&&a&&this.addResource("contextMenu",new u.Zen2ContextMenuClientCode({container:t,contextMenu:a,contextMenuButton:o,salt:n,abuseUrl:r,isFixPopupPosition:!0}))},t}(o.Destroyable);t.Zen2LegalInfoPopupClientCode=p;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e,t=this.props.container;this.elements=(0,c.getElementsByDataFromMap)(d.legalInfoElements,t),this.lang=null===(e=this.elements.legalInfoContainer)||void 0===e?void 0:e.dataset.lang;var n=new l.RafSizeSensor(t);this.doOnDestroy((function(){return n.destroy()}));var r=(0,a.throttle)(this.checkSizes,1e3,this);this.checkSizes(),n.addResizeHandler((function(e,t){r(),t()}))},t.prototype.checkSizes=function(){var e=this.elements,t=e.legalInfoButton,n=e.legalInfoContainer;if(t&&n&&this.lang){t.innerText=(0,s.i18n)("LEGAL_INFO_FULL",this.lang);var r=t.getClientRects();(null==r?void 0:r.length)>1&&(t.innerText=(0,s.i18n)("LEGAL_INFO",this.lang))}},t}(o.Destroyable);t.Zen2LegalInfoCheckSize=f},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.PriceInfoController=void 0;var o=n(629),a=n(34),s=n(1129),c=n(628),l=n(1763),u=n(1764),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this,t=this.props.container;this.sizeSensor=new c.RafSizeSensor(t),this.sizeSensor.addResizeHandler((function(t,n){e.checkSizes(),n()})),this.checkSizes()},t.prototype.getElements=function(){return this.elements||(this.elements=(0,s.getElementsByDataFromMap)(l.priceInfoDataNames,this.props.container)),this.elements},t.prototype.checkSizes=function(){var e=this.props.salt,t=this.getElements(),n=t.container,r=t.currentPrice,i=t.discount,o=t.oldPrice;if(n&&r){var s=(0,a.getBoundingClientRect)(n).width,c=(0,a.getBoundingClientRect)(r).width,l=i?(0,a.getBoundingClientRect)(i).width:0,d=o?(0,a.getBoundingClientRect)(o).width:0;if(c+l+d<=s)return null==i||i.classList.remove(u("hidden",e)),void(null==o||o.classList.remove(u("hidden",e)));null==i||i.classList.add(u("hidden",e)),c+d<=s?null==o||o.classList.remove(u("hidden",e)):(null==o||o.classList.add(u("hidden",e)),r.classList.remove(u("withDiscount",e)))}},t.prototype.destroy=function(){var t;null===(t=this.sizeSensor)||void 0===t||t.destroy(),e.prototype.destroy.call(this)},t}(o.Destroyable);t.PriceInfoController=d},function(e,t,n){"use strict";n.r(t),n.d(t,"combineValueSignals",(function(){return o}));var r=n(560),i=n(561);function o(e,t,n){var o=function(){return Object(r["a"])(e,(function(e){return e.getValue()}))},a=t.apply(void 0,o());n(a);var s=function(){var e=t.apply(void 0,o());a!==e&&(a=e,n(e))},c=Object(r["a"])(e,(function(e){return e.add(s)}));return function(){Object(i["a"])(c)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replace320x50WithAdaptive=t.isSDFormat=t.isAdaptiveV3=t.isPoster=t.isSizeFormat=t.isAdaptive=void 0;var r=n(1790);function i(e){return/\d+x\d+/.test(e)}t.isAdaptive=function(e){return"adaptive"===e||"modernAdaptive"===e||"horizontal"===e||"horizontal0318"===e||"grid"===e||i(e)},t.isSizeFormat=i,t.isPoster=function(e){return"posterHorizontal"===e||"posterVertical"===e||"oldPosterVertical"===e||"oldPosterHorizontal"===e},t.isAdaptiveV3=function(e){return"vertical"===e||"newVertical"===e},t.isSDFormat=function(e){return"adaptive0418"===e||"adaptiveConstructor"===e||"horizontalSD"===e||"fullscreen"===e},t.replace320x50WithAdaptive=function(e){var t=r.FIXED_FORMATS["320x50"];t&&(e.height=t.layoutConfig.height,e.limit=t.settings.limit||e.limit,e.name="adaptive0418")}},,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionBtn=t.Kebab=t.AdLabelContent=t.AdLabel=t.AdKebabAndLabel=void 0;var i=r(n(42)),o=n(648),a=n(108),s=n(492),c=n(964),l=n(623),u=n(968),d=n(536),p=n(1279),f=n(676),h=n(0),v=n(1313),m=n(1316),g=n(1317);function _(e){(0,l.useStyles)(v);var t=e.adLabelMode,n=e.theme,r=e.bgColor,o=e.adLabelClassName,s=e.rowSize;return(0,a.h)("div",{className:(0,i["default"])(v.adLabel,o,t&&v[t],s&&v[s],n&&v["".concat(n,"-theme")]),"data-label":!0},(0,a.h)("div",{"data-test":"AdKebabAndLabel--adLabelBg",className:(0,i["default"])(v.adLabelBg,r&&(0,u.applyStyles)({background:r}))}),y(e))}function y(e){(0,l.useStyles)(v);var t=e.language,n=void 0===t?1:t,r=e.age,o=e.isSocialAd,u=e.isBusiness,h=e.dspName,m=e.isSurvey;return o?function(e){return(0,a.h)("a",{"data-test":"AdKebabAndLabel--link",className:(0,i["default"])(v.link),href:d.SOCIAL_AD_URL,target:"_blank"},(0,a.h)("div",{"data-sociallabel":"1"},(0,s.i18nBanners)("SOCIAL_ADV_SHORT",e)))}(n):(0,a.h)(a.Fragment,null,m?function(e){return(0,a.h)("a",{"data-test":"AdKebabAndLabel--surveyLink",className:(0,i["default"])(v.link),href:p.SURVEY_AD_LABEL_URL,target:"_blank"},(0,s.i18nBanners)("SURVEY",e))}(n):(0,c.i18nCommon)("ADVERTISEMENT",n),h&&b(h),u&&b(function(e){return(0,a.h)("a",{"data-test":"AdKebabAndLabel--businessLink",className:(0,i["default"])(v.link),href:f.BUSINESS_AD_URL,target:"_blank"},(0,s.i18nBanners)("YANDEX_BUSINESS",e))}(n)),r&&b(r))}function b(e){return(0,a.h)(a.Fragment,null,(0,a.h)("span",{className:v.pipe}," \u2022 "),e)}function C(e){var t=e.mode,n=e.theme,r=e.bgColor,o=e.rowSize,s=e.kebabClassName,c=e.icon,l=e.size,d=void 0===l?"m":l;return(0,a.h)("div",{"data-close":!0,"data-new-adtune":"true","data-row-size-kebab":o,className:(0,i["default"])(v.adKebab,v.adKebabBase,t&&v[t],o&&v[o],s,v["adKebabBase_size_".concat(d)])},(0,a.h)("div",{className:(0,i["default"])(v.adKebabBg,r&&(0,u.applyStyles)({background:r}))}),(0,a.h)("div",{className:(0,i["default"])(v.adKebabIcon,n&&v["".concat(n,"-theme")]),dangerouslySetInnerHTML:{__html:c||m}}))}function O(e){var t=e.mode,r=e.theme,s=e.bgColor,c=e.rowSize,l=e.kebabClassName,d=e.language,p=void 0===d?1:d,f="exp-icon-2"===(0,h.useExperimentFlag)("POSTER_COLLECTION")?n(1318):n(1319);return(0,a.h)("div",{"data-collection":!0,className:(0,i["default"])(v.adKebab,v.adKebabBase,v.collectionBtn,t&&v[t],c&&v[c],l)},(0,a.h)("div",{className:(0,i["default"])(v.adKebabBg,s&&(0,u.applyStyles)({background:s}))}),(0,a.h)("div",{className:(0,i["default"])(v.collectionIcon,r&&v["".concat(r,"-theme")]),dangerouslySetInnerHTML:{__html:f}}),function(e){return(0,a.h)(a.Fragment,null,(0,a.h)("div",{className:(0,i["default"])(v.tooltip,v.tooltipNotAdded)},(0,a.h)("div",{className:v.tooltipArrow,dangerouslySetInnerHTML:{__html:g}}),(0,o.i18n)("ADD_TO_COLLECTION",e)),(0,a.h)("div",{className:(0,i["default"])(v.tooltip,v.tooltipAdded)},(0,a.h)("div",{className:v.tooltipArrow,dangerouslySetInnerHTML:{__html:g}}),(0,o.i18n)("ADDED_TO",e),"\xa0",(0,a.h)("a",{className:v.tooltipLink,href:"https://yandex.ru/collections?utm_source=ad",target:"_blank","data-collection-link":!0},(0,o.i18n)("COLLECTION",e))))}(p))}t.AdKebabAndLabel=function(e){(0,l.useStyles)(v);var t=e.hideLabel,n=e.hideKebab,r=e.showCollection;return(0,a.h)(a.Fragment,null,!t&&_(e),!n&&C(e),r&&O(e))},t.AdLabel=_,t.AdLabelContent=y,t.Kebab=C,t.CollectionBtn=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SURVEY_AD_LABEL_URL=void 0,t.SURVEY_AD_LABEL_URL="https://surveys.yandex.ru/landing"},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=void 0,t.isSafari=(0,n(259).getIsSafari)()},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestInterval=t.markRequest=t.canShowAd=t.canMakeRequest=void 0;var i="yaAdvRequestControlerData",o={min:1,max:100},a={min:1,max:86400},s={local:{},session:{}},c=function(e,t){return void 0===e&&(e=!1),void 0===t&&(t=e?"session":"local"),{getItem:function(e){return s[t][e]},setItem:function(e,n){return s[t][e]=n},removeItem:function(e){return delete s[t][e]},length:0,clear:function(){},key:function(){return""}}},l={local:c(),session:c(!0)};try{"object"==typeof localStorage&&null!==localStorage&&(l.local=localStorage),"object"==typeof sessionStorage&&null!==sessionStorage&&(l.session=sessionStorage)}catch(e){}var u=function(e){return void 0===e&&(e=!1),e?l.session:l.local};function d(e){try{var t=h(),r=null==t?void 0:t[e];if(t&&r){var i=r.pathEnabled,o=r.pathDisabled;if(g(i)||g(o)){if((0,n(22).traceLog)({pathEnabled:i,pathDisabled:o,href:location.href},"URL_MASK_EXISTS"),"string"==typeof i||"string"==typeof o){var a=!0;if(g(i)){var s=i.split(",").map((function(e){return e.trim()}));a=(0,n(58).some)(s,(function(e){return location.pathname.startsWith(e)}))}if(g(o)){s=o.split(",").map((function(e){return e.trim()}));a=!(0,n(58).some)(s,(function(e){return location.pathname.startsWith(e)}))}return a||(0,n(22).traceLog)({pathEnabled:i,pathDisabled:o,href:location.href},"URL_MASK_FILTER"),a}delete r.pathEnabled,delete r.pathDisabled}v(t,!0)}}catch(e){m(!0)}return!0}function p(e){void 0===e&&(e=!1);try{var t=u(e).getItem(i);if(t)return n.lv["json"].parse(t)}catch(e){}}function f(){return p()}function h(){return p(!0)}function v(e,t){void 0===t&&(t=!1);try{u(t).setItem(i,n.lv["json"].stringify(e))}catch(e){}}function m(e){void 0===e&&(e=!1);try{u(e).removeItem(i)}catch(e){}}function g(e){return void 0!==e}function _(e,t){return"number"==typeof e&&(0,n(307).isInRange)(e,t.min,t.max)}t.canMakeRequest=function(e,t){var n=d(e);try{var r=f(),i=null==r?void 0:r[e];if(r&&i){var s=i.maxShowCount,c=i.periodInSeconds;g(s)&&g(c)&&(_(s,o)&&_(c,a)&&i.lastRequests?(i.lastRequests=i.lastRequests.filter((function(e){return e>t-c})),n=n&&i.lastRequests.length<s):(delete i.maxShowCount,delete i.periodInSeconds,delete i.lastRequests)),v(r)}}catch(e){m()}return n},t.canShowAd=d,t.markRequest=function(e,t,n){void 0===n&&(n={});var i=n.maxShowCount,o=n.periodInSeconds,a=n.pathEnabled,s=n.pathDisabled,c=g(i)&&g(o),l=g(a),u=g(s),d=f()||{};(c||d[e])&&(c?(d[e]=r(r({lastRequests:[]},d[e]),{maxShowCount:i,periodInSeconds:o}),d[e].lastRequests.push(t)):(delete d[e].maxShowCount,delete d[e].periodInSeconds,delete d[e].lastRequests),v(d));var p=h()||{};(l||u||p[e])&&(l||u?p[e]=r(r({},p[e]),{pathEnabled:a,pathDisabled:s}):(delete p[e].pathEnabled,delete p[e].pathDisabled),v(p,!0))},t.getRequestInterval=function(e){var t=f(),r=null==t?void 0:t[e];if(t&&r){var i=r.maxShowCount,s=r.periodInSeconds;if(_(i,o)&&_(s,a))return Math.max(s/i,n(145).DEFAULT_RELOAD_TIMEOUT)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCssFilterBlurSupported=t.isCssAnimationSupported=t.isCssTransitionSupported=t.isCssTransformSupported=t.isCssFlexSupported=void 0,t.isCssFlexSupported=(0,n(323).testProperty)("flex"),t.isCssTransformSupported=(0,n(323).testProperty)("transform"),t.isCssTransitionSupported=(0,n(323).testProperty)("transition"),t.isCssAnimationSupported=(0,n(323).testProperty)("animation"),t.isCssFilterBlurSupported=(0,n(323).testProperty)("filter:blur(2px)")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initMraidCloseButton=t.isNanpuInterstitial=void 0,t.isNanpuInterstitial=function(e){return Boolean(e.nanpuSettings&&"interstitial"===e.nanpuSettings.adType)},t.initMraidCloseButton=(0,n(13).once)((function(e){var t=(0,n(1212).getMraid)(),r=(0,n(1246).getFullscreenSettings)(e).closeButtonVisibilityTimeout;t&&r&&r>0&&(0,n(1212).on)("ready",(function(){t.useCustomClose(!0),(0,n(541).visibilityObserver)(n(649).OneOfStrategy.from(n(659).MraidStrategy.factory,n(1596).DefaultStrategy.factory))(document.body,(function(){window.setTimeout((function(){t.useCustomClose(!1)}),r)}))}))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closestByAttribute=t.closest=void 0,t.closest=function(e,t){for(;e;){if(e.matches(t))return e;e=e.parentElement}return null},t.closestByAttribute=function(e,t){for(;e;){if(e.hasAttribute(t))return e;e=e.parentElement}return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.open=void 0;var r=n(627).MraidHelpers.isAvailable();t.open=(0,n(7).protect)("open",(function(e,t){r&&(n(627).MraidHelpers.open(window,t),e.preventDefault())}))},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BannerLayoutController=void 0;var o=n(629),a=n(972),s=n(1660),c=n(662),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){e.prototype.init.call(this);var t=this.props.container,n=(0,a.getElementByData)("name","warning-important",t);n&&this.addResource("warningImportantController",new s.WarningImportantController({container:n}));var r=new c.ScrollerClientCode({container:t,salt:""});this.doOnDestroy((function(){return r.destroy()}))},t}(o.Destroyable);t.BannerLayoutController=l},,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBouncesExp=void 0,t.hasBouncesExp=function(e,t){var r="exp"===(0,n(0).useExperimentFlag)("BOUNCES_EXP"),i=(0,n(0).useExperimentFlag)("BOUNCES_EXP_BLOCKS_WHITELIST")||"",o="exp"===(0,n(0).useExperimentFlag)("BOUNCES_EXP_ONLY_TOUCH"),a=(0,n(718).getIsTouchScreenDevice)(window),s=!t||(0,n(0).useExperimentFlag)(t)&&"ctl"!==(0,n(0).useExperimentFlag)(t);return r&&s&&(!o||a)&&(!i||i.includes(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initWarningClientCode=void 0;var r=n(97),i=n(653),o=n(630),a=n(1749),s=n(1750),c=new i.AnimationQueue({delay:16.66});t.initWarningClientCode=function(e,t){var n=((0,o.getElementsByData)("name","warningScroll",e)||[])[0];if(n){var i=n.children[0];if(i){var l=0,u=0,d=0,p={onStart:function(e){var r=u-l;Math.abs(r)<1?l=u:(l+=.057*r,c.push(p)),i.scrollLeft=l,n.classList.remove(a("left",t)),n.classList.remove(a("right",t)),0===l&&n.classList.add(a("left",t)),d&&l===d&&n.classList.add(a("right",t)),e()},onStop:function(e){e()}};if(r.isMobile)return i.classList.add(s("mobile-scroll",t)),n.classList.remove(a("left",t)),void n.classList.remove(a("right",t));i.classList.remove(s("mobile-scroll",t)),n.addEventListener("mousemove",(function(e){var t=i.clientWidth,n=i.scrollWidth,r=i.getBoundingClientRect(),o=t-Math.max(64,t*t/n),a=e.clientX-r.left-o/2,s=Math.max(0,Math.min(1,a/o));u=(d=n-t)*s,c.push(p)}))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getItemElements=t.carouselItemElements=void 0;var r=n(972);t.carouselItemElements={container:"zen2-article-body-item",header:"zen2-article-body-item-header",title:"zen2-article-body-item-title",legalInfo:"zen2-article-body-item-legalInfo",priceContainer:"zen2-article-body-item-priceContainer",feedbackPopupButton:"zen2-feedback-popup-button"},t.getItemElements=function(e){return{container:(0,r.getElementByData)("name",t.carouselItemElements.container,e),header:(0,r.getElementByData)("name",t.carouselItemElements.header,e),title:(0,r.getElementByData)("name",t.carouselItemElements.title,e),legalInfo:(0,r.getElementByData)("name",t.carouselItemElements.legalInfo,e),priceContainer:(0,r.getElementByData)("name",t.carouselItemElements.priceContainer,e),feedbackPopupButton:(0,r.getElementByData)("name",t.carouselItemElements.feedbackPopupButton,e)}}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2FeedbackClientCode=void 0;var s=n(629),c=n(986),l=n(630),u=n(1129),d=n(1301),p=n(1755),f=n(1756);var h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this.props.container;this.elements=function(e){p.feedbackElementsMap.feedbackReason;var t=a(p.feedbackElementsMap,["feedbackReason"]),n=(0,u.getElementsByDataFromMap)(t,e),r=(0,l.getElementsByData)("name",p.feedbackElementsMap.feedbackReason,e)||[];return o(o({},n),{feedbackReasons:r})}(e),this.initFeedback(),this.initGalleryFeedbackButton()},t.prototype.initFeedback=function(){var e=this,t=this.props,n=t.abuseUrl,r=t.salt,i=this.elements,o=i.cancelFeedbackButton,a=i.feedbackCompletedContainer,s=i.feedbackReasons,l=i.feedbackReasonsContainer;if(o&&a&&l){this.addEventListener(o,"click",(function(){e.toggleFeedbackView(),e.toggleFeedbackPopupButton(),(0,d.sendUndislike)(n)}));for(var u=0;u<s.length;u++)this.addEventListener(s[u],"click",(function(t){if(t.target&&t.target instanceof HTMLElement){var i=t.target.dataset.optionId;if((0,d.sendFeedback)(n,i),i===c.ADTUNE_ADVERTISER_INFO_REASON_ID)return}e.hideFeedbackPopupButton(),l.classList.add(f("feedbackReasons_hidden",r)),a.classList.add(f("feedbackCompleted_visible",r)),e.isFeedbackView()||e.toggleFeedbackView()}))}},t.prototype.initGalleryFeedbackButton=function(){var e=this,t=this.elements.galleryFeedbackButton;t&&this.addEventListener(t,"click",(function(){e.toggleFeedbackView()}))},t.prototype.toggleFeedbackPopupButton=function(){var e=this.elements.feedbackPopupButton,t=this.props.salt;e&&e.classList.toggle(f("feedbackPopupButton_hidden",t))},t.prototype.hideFeedbackPopupButton=function(){var e=this.elements.feedbackPopupButton,t=this.props.salt;e&&e.classList.add(f("feedbackPopupButton_hidden",t))},t.prototype.toggleFeedbackView=function(){var e=this.props,t=e.adContainer,n=e.salt,r=e.getParentAlias,i=this.elements.feedbackContainer;t&&i&&(t.classList.toggle(r("withFeedback",n)),i.classList.toggle(f("feedback_visible",n)))},t.prototype.isFeedbackView=function(){var e=this.props,t=e.adContainer,n=e.salt,r=e.getParentAlias;return!!t&&t.classList.contains(r("withFeedback",n))},t}(s.Destroyable);t.Zen2FeedbackClientCode=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendUnlike=t.sendLike=t.sendUndislike=t.sendDislike=t.sendFeedback=void 0;var r=n(469),i=n(315);function o(e,t,n){if(e&&t){var o=t.split("-"),a=o[0],s=o[1],c=new i.Url({host:e,params:{"action-id":s,"reason-id":a,sign:n}});(0,r.sendConfirm)({src:c.getUrl()})}}t.sendFeedback=o;var a="11-8",s="10-7";t.sendDislike=function(e){o(e,a,1)},t.sendUndislike=function(e){o(e,a,-1)},t.sendLike=function(e){o(e,s,1)},t.sendUnlike=function(e){o(e,s,-1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZEN_FEEDBACK_REASON_DATA_NAME=void 0,t.ZEN_FEEDBACK_REASON_DATA_NAME="zen2-feedback-reason"},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReactionsController=void 0;var o=n(629),a=n(1129),s=n(1301),c=n(1463),l=n(1464),u=n(1765),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){this.initReactions()},t.prototype.initReactions=function(){var e=this.props,t=e.abuseUrl,n=e.container,r=e.salt,i=e.onDisliked,o=(0,a.getElementsByDataFromMap)({dislikeButton:c.ZEN_DISLIKE_BUTTON_DATA_NAME,likeButton:l.ZEN_LIKE_BUTTON_DATA_NAME},n),d=o.dislikeButton,p=o.likeButton;d&&p&&(this.addEventListener(p,"click",(function(){p.classList.contains(u("likeButton_active",r))?(p.classList.remove(u("likeButton_active",r)),(0,s.sendUnlike)(t)):(p.classList.add(u("likeButton_active",r)),(0,s.sendLike)(t))})),this.addEventListener(d,"click",(function(){p.classList.contains(u("likeButton_active",r))&&(p.classList.remove(u("likeButton_active",r)),(0,s.sendUnlike)(t)),(0,s.sendDislike)(t),i()})))},t}(o.Destroyable);t.ReactionsController=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseZen2Theme=t.Zen2ThemeType=t.Zen2ThemePlatform=t.Zen2ThemeOrientation=t.Zen2ThemeColor=void 0;var r,i,o,a,s=n(182),c=n(1475);function l(e,t,n){return Object.values(t).includes(e)?e:n}!function(e){e["BLACK"]="black",e["WHITE"]="white",e["PORTAL"]="portal"}(r=t.Zen2ThemeColor||(t.Zen2ThemeColor={})),function(e){e["HORIZONTAL"]="horizontal",e["VERTICAL"]="vertical"}(i=t.Zen2ThemeOrientation||(t.Zen2ThemeOrientation={})),function(e){e["DESKTOP"]="desktop",e["TOUCH"]="touch"}(o=t.Zen2ThemePlatform||(t.Zen2ThemePlatform={})),function(e){e["FEED"]="feed",e["GALLERY"]="gallery",e["ARTICLE_RIGHT"]="articleRight",e["ARTICLE_BODY"]="articleBody",e["ARTICLE_TOP"]="articleTop"}(a=t.Zen2ThemeType||(t.Zen2ThemeType={})),t.parseZen2Theme=function(e,t,n,u){if(!e){var d=(0,s.createColor)(t.textColor||"#000");return{platform:o.TOUCH,orientation:i.VERTICAL,color:d.isLight()?r.BLACK:r.WHITE,type:u?a.GALLERY:a.FEED,hasVideo:n}}var p=e.split("_"),f=p[0],h=p[1],v=p[2],m=p[3],g=(0,c.useSettings)(),_=g.zenAdType,y=g.zen2Carousel,b=h===r.PORTAL,C=function(){return y?"carousel":_};return n?"desktop_small_height"===_||"horizontal_new"===_?{color:l(h,r,r.WHITE),orientation:i.VERTICAL,platform:o.DESKTOP,type:a.FEED,hasVideo:!0,isNewHorizontalVideo:!0,adType:C(),canThemeChange:b}:{color:l(h,r,r.WHITE),orientation:i.VERTICAL,platform:l(v,o,o.TOUCH),type:l(f,a,a.FEED),hasVideo:!0,adType:C(),canThemeChange:b}:"desktop_small_height"===_?{color:l(h,r,r.WHITE),orientation:i.VERTICAL,platform:o.DESKTOP,type:a.FEED,hasVideo:!1,adType:C(),canThemeChange:b}:{color:l(h,r,r.WHITE),orientation:l(m,i,i.VERTICAL),platform:l(v,o,o.TOUCH),type:l(f,a,a.FEED),hasVideo:!1,adType:C(),canThemeChange:b}}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.VideoClientCode=void 0;var a=n(629),s=n(972),c=n(668),l=n(315),u=n(15),d=n(25),p=n(35),f=n(1472),h=n(7),v=n(692),m=n(715),g=n(472),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this,t=this.props,n=t.container,r=t.dataSource,i=t.format,a=this.props.videoParams,_=a.vastBase64,y=a.vast,b=a.urlParams,C=a.hitLogId,O=a.clickMacro,E=(0,s.getElementByData)("name","video",n),A=(0,s.getElementByData)("name","video-background-blur",n)||void 0,I=(0,s.getElementByData)("name","adaptiveImageContainer",n),S=(0,s.getElementByData)("asset-click","image",n),T=(0,s.getElementByData)("name","poster",n);if(E){(0,f.logVideoSizes)(E,i);var w=E.hasAttribute("data-preventClicks");n||u.logger.logVasEvent({element:"videoOuterContainer",icookie:(0,d.getUaasConfig)().iCookie},"VIDEO_OUTER_CONTAINER_NODE_NOT_FOUND",100);var R={replayMode:"manual",packshotSettings:{disableButton:!0,disableOverlay:!0,disableObjectFit:!0},controlsSettings:v.VAS_CONTROLS_SETTINGS_HIDE_ALL,visibilitySlot:n,pauseOnClickThrough:!1,backgroundSlot:A,allowedToHideVideoSlotAreaPortion:m.TGO_VIDEO_ALLOWED_TO_HIDE_VIDEO_SLOT_AREA_PORTION,clickThroughCallback:function(t){var n,r=t.url;(0,t.onHandle)();var i=new l.Url({host:r,params:o(o({},b),(n={},n["asset-click"]="video",n))}).getUrl();w&&e.inpageController&&(e.inpageController.playState=!e.inpageController.playState);var a=O?"".concat(O).concat(encodeURIComponent(i)):i;window.open(a,"_blank")}};_?R.vastBase64=_:R.vast=y;var P=r.getVideoCallbacks(),k={format:i,actualFormat:b["actual-format"],pageId:r.getPageId(),impId:r.getImpId(),activeTestIds:b["pcode-active-testids"],hitLogId:C,testtag:b["test-tag"],version:57046,testIds:(0,d.getUaasConfig)().testIds,vast:(0,p.isPercent)(1)?_||y:void 0},M=new c.InpageController({videoContainer:E,adSdkInpageConfig:R,onError:function(e){return u.logger.error(e||"UNKNOWN_VIDEO_ERR","VideoInTgo: init adsdk error")}});M.usePublicController((0,h.protect)("VideoClientCode:usePC",(function(e){e.setVolume(0),e.setStatsRootFields({pcodeStats:k})}))),M.setCallback("onAdStart",(function(){(0,g.setStyle)(E,{opacity:"1"}),null==T||T.style.setProperty("background-color","#000000"),null==S||S.style.setProperty("display","none"),null==I||I.style.setProperty("opacity","0"),P&&P.onAdStart&&P.onAdStart()})),M.setCallback("onAdEnd",(function(){P&&P.onAdEnd&&P.onAdEnd()})),this.doOnDestroy((function(){return M.destroy()})),this.inpageController=M}},t}(a.Destroyable);t.VideoClientCode=_},,,,,,,,function(e,t,n){var r=n(1314),i=r._getCss;(e.exports=r)._getCss=function(e){return e=e||"",i().replace(/__id__/g,e)}},function(e,t,n){var r=n(1315),i=n(625),o="string"==typeof r?[[e.i,r,""]]:r;(t=e.exports=r.locals||{})._getContent=function(){return o},t._getCss=function(){return""+r},t._insertCss=function(e){return i(o,e)}},function(e,t,n){var r=n(624)(!1);r.push([e.i,'__id__ .m6a39eb1d{cursor:pointer !important;position:absolute !important;right:4px !important;top:4px !important;z-index:10 !important}__id__ .c8e3fbe48.m6a39eb1d{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important;-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important;pointer-events:auto !important;border-radius:50% !important;-webkit-user-select:none !important;-moz-user-select:none !important;-ms-user-select:none !important;user-select:none !important;-webkit-tap-highlight-color:transparent !important}__id__ .c8e3fbe48.m6a39eb1d:before{content:"" !important;position:absolute !important;top:-4px !important;left:50% !important;-webkit-transform:translateX(-50%) !important;transform:translateX(-50%) !important}__id__ .c8e3fbe48.m6a39eb1d:hover .lec86cced{opacity:.8 !important}__id__ .c8e3fbe48.m6a39eb1d.p632eea6 .lec86cced{background-color:#fff !important;opacity:.8 !important}__id__ .c8e3fbe48.m6a39eb1d.p632eea6 .h94b5a0a3 svg{fill:#575c66 !important}__id__ .c8e3fbe48.m6a39eb1d.u101f063e,__id__ .c8e3fbe48.m6a39eb1d.u182a101c{-webkit-backdrop-filter:none !important;backdrop-filter:none !important}__id__ .c8e3fbe48.m6a39eb1d.u101f063e .lec86cced,__id__ .c8e3fbe48.m6a39eb1d.u182a101c .lec86cced{background:none !important}__id__ .c8e3fbe48.m6a39eb1d.u101f063e .h94b5a0a3,__id__ .c8e3fbe48.m6a39eb1d.u182a101c .h94b5a0a3{-webkit-filter:none !important;filter:none !important}__id__ .c8e3fbe48.m6a39eb1d.u101f063e:hover{background-color:#e9e9e9 !important}__id__ .c8e3fbe48.m6a39eb1d.u101f063e .h94b5a0a3 svg{fill:#242526 !important}__id__ .c8e3fbe48.m6a39eb1d.u101f063e .d3e2006df{color:#242526 !important}__id__ .c8e3fbe48.m6a39eb1d.u182a101c:hover{background-color:rgba(248,250,255,.2) !important}__id__ .c8e3fbe48.m6a39eb1d.u182a101c .h94b5a0a3 svg{fill:#fff !important}__id__ .c8e3fbe48.m6a39eb1d.u182a101c .d3e2006df{color:#fff !important}__id__ .c8e3fbe48.h4c38e533{width:12px !important;height:12px !important}__id__ .c8e3fbe48.h4c38e533:before{width:28px !important;height:28px !important}__id__ .c8e3fbe48.h4c38e533 .h94b5a0a3{-webkit-transform:scale(.6) !important;transform:scale(.6) !important}__id__ .c8e3fbe48.c6d4448cb{width:16px !important;height:16px !important}__id__ .c8e3fbe48.c6d4448cb:before{width:32px !important;height:32px !important}__id__ .c8e3fbe48.c6d4448cb .h94b5a0a3{-webkit-transform:scale(.8) !important;transform:scale(.8) !important}__id__ .c8e3fbe48.f50909115{width:24px !important;height:24px !important}__id__ .c8e3fbe48.f50909115:before{width:42px !important;height:42px !important}__id__ .c8e3fbe48.kf0981674{width:28px !important;height:28px !important}__id__ .c8e3fbe48.kf0981674:before{width:42px !important;height:42px !important}__id__ .lec86cced{height:100% !important;width:100% !important;position:absolute !important;top:0 !important;left:0 !important;z-index:-1 !important;opacity:.6 !important;border-radius:inherit !important;-webkit-transition:opacity .15s !important;-o-transition:opacity .15s !important;transition:opacity .15s !important;-webkit-transition:background-color .5s ease-in-out !important;-o-transition:background-color .5s ease-in-out !important;transition:background-color .5s ease-in-out !important}__id__ .c8e3fbe48 .h94b5a0a3{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important;-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important;pointer-events:none !important}__id__ .c8e3fbe48 .h94b5a0a3.vb060e3a2 svg{fill:#fff !important}__id__ .c8e3fbe48 .h94b5a0a3.vb060e3a2 svg,__id__ .c8e3fbe48 .h94b5a0a3.ya77d5c00 svg{-webkit-transition:fill .5s ease-in-out !important;-o-transition:fill .5s ease-in-out !important;transition:fill .5s ease-in-out !important}__id__ .c8e3fbe48 .h94b5a0a3.ya77d5c00 svg{fill:#242526 !important}__id__ .d3e2006df{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important;-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important;pointer-events:none !important}__id__ .d3e2006df.vb060e3a2{color:#fff !important}__id__ .d3e2006df.ya77d5c00{color:#242526 !important}@-webkit-keyframes ld22d990d{0%,to{opacity:0 !important;visibility:hidden !important}4%,96%{visibility:visible !important;opacity:1 !important}}@keyframes ld22d990d{0%,to{opacity:0 !important;visibility:hidden !important}4%,96%{visibility:visible !important;opacity:1 !important}}@media (hover:hover) and (pointer:fine){__id__ .j3394742c:hover .q82cf77{opacity:0 !important;visibility:hidden !important}__id__ .j3394742c:hover .uc318c982{visibility:visible !important;opacity:1 !important}__id__ .j3394742c[data-active]:hover .uc318c982{opacity:0 !important;visibility:hidden !important}__id__ .j3394742c[data-active]:hover .q82cf77{visibility:visible !important;opacity:1 !important}}__id__ .j3394742c.t40a4365c{right:45px !important}__id__ .j3394742c.t40a4365c .jce900437.q82cf77{-webkit-transform:translateX(41px) !important;transform:translateX(41px) !important}__id__ .j3394742c.t40a4365c .jce900437.q82cf77 .q88838ce{-webkit-transform:translateX(-43px) !important;transform:translateX(-43px) !important}__id__ .j3394742c{right:36px !important;width:32px !important}__id__ .j3394742c[data-active] svg{color:#ee4f4f !important;fill:#ee4f4f !important}__id__ .j3394742c[data-active] .q82cf77{-webkit-animation:ld22d990d 8s linear !important;animation:ld22d990d 8s linear !important}__id__ .j3394742c .jce900437{position:absolute !important;color:#fff !important;opacity:0 !important;visibility:hidden !important;white-space:nowrap !important;top:29px !important;right:50% !important;-webkit-transform:translateX(50%) !important;transform:translateX(50%) !important;background:#343334 !important;border-radius:6px !important;padding:0 8px !important;height:24px !important;line-height:24px !important;font-size:11px !important;-webkit-transition:all .2s !important;-o-transition:all .2s !important;transition:all .2s !important}__id__ .j3394742c .jce900437.q82cf77{-webkit-transform:translateX(32px) !important;transform:translateX(32px) !important;right:0 !important}__id__ .j3394742c .jce900437.q82cf77 .q88838ce{right:0 !important;-webkit-transform:translateX(-34px) !important;transform:translateX(-34px) !important}__id__ .j3394742c .jce900437 .k3d0a89ca{font-size:11px !important}__id__ .j3394742c .jce900437 .q88838ce{width:28px !important;height:8px !important;position:absolute !important;top:-6px !important;right:50% !important;-webkit-transform:translateX(50%) !important;transform:translateX(50%) !important;display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important;-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important}__id__ .j3394742c .jce900437 .y172f4fd7{color:#ffd400 !important;text-decoration:none !important;text-transform:lowercase !important}__id__ .je2103964{height:100% !important;width:100% !important;position:absolute !important;top:0 !important;left:0 !important;z-index:-1 !important;opacity:.6 !important;border-radius:inherit !important;-webkit-transition:background-color .5s ease-in-out !important;-o-transition:background-color .5s ease-in-out !important;transition:background-color .5s ease-in-out !important}__id__ .fdf8aea41{display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;cursor:pointer !important;position:absolute !important;left:4px !important;top:4px !important;z-index:10 !important;font-family:Helvetica,Arial,sans-serif !important;height:12px !important;-webkit-box-sizing:border-box !important;box-sizing:border-box !important;line-height:9px !important;padding:2px 4px !important;color:hsla(0,0%,100%,.8) !important;border-radius:16px !important;font-size:7px !important;text-transform:uppercase !important;letter-spacing:.125em !important;text-shadow:0 1px 1px rgba(0,0,0,.05),0 2px 2px rgba(0,0,0,.05),0 4px 4px rgba(0,0,0,.05),0 0 8px rgba(0,0,0,.05) !important;pointer-events:none !important;-webkit-transition:color .5s ease-in-out !important;-o-transition:color .5s ease-in-out !important;transition:color .5s ease-in-out !important}__id__ .fdf8aea41,__id__ .fdf8aea41>a{text-decoration:none !important}__id__ .fdf8aea41>a{color:inherit !important}__id__ .fdf8aea41.p632eea6{color:#575c66 !important}__id__ .fdf8aea41.p632eea6 .je2103964{background-color:#fff !important;opacity:.8 !important}__id__ .fdf8aea41.u101f063e,__id__ .fdf8aea41.ya77d5c00{color:#575c66 !important}__id__ .fdf8aea41.vb060e3a2,__id__ .fdf8aea41.u182a101c{color:#fff !important}__id__ .fdf8aea41.pd4525be1,__id__ .fdf8aea41.p98680a1d{top:auto !important;left:auto !important;right:0 !important;bottom:0 !important;background:none !important;text-shadow:none !important;font-size:7px !important;padding:0 !important;line-height:normal !important;height:auto !important;opacity:.8 !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){__id__ .fdf8aea41{text-shadow:0 1px 2px rgba(0,0,0,.15) !important}}}@supports ((-webkit-backdrop-filter:blur(16px)) or (backdrop-filter:blur(16px))){__id__ .lec86cced,__id__ .je2103964{opacity:.1 !important}__id__ .c8e3fbe48.m6a39eb1d,__id__ .fdf8aea41{-webkit-backdrop-filter:blur(16px) !important;backdrop-filter:blur(16px) !important}__id__ .c8e3fbe48.m6a39eb1d:not(.c8e3fbe48.m6a39eb1d.p632eea6):hover .lec86cced{opacity:.4 !important}}__id__ .d44093fee{margin:0 2px !important}__id__ .wbee4f022{text-decoration:none !important;pointer-events:auto !important;color:inherit !important}',""]),r.locals={adKebabBase:"m6a39eb1d",adKebab:"c8e3fbe48",adKebabBg:"lec86cced",rtb:"p632eea6",adKebabIcon:"h94b5a0a3",dark:"u101f063e",light:"u182a101c",collectionIcon:"d3e2006df",adKebabBase_size_xs:"h4c38e533",adKebabBaseSizeXs:"h4c38e533",adKebabBase_size_s:"c6d4448cb",adKebabBaseSizeS:"c6d4448cb",adKebabBase_size_m:"f50909115",adKebabBaseSizeM:"f50909115",adKebabBase_size_l:"kf0981674",adKebabBaseSizeL:"kf0981674","dark-theme":"vb060e3a2",darkTheme:"vb060e3a2","light-theme":"ya77d5c00",lightTheme:"ya77d5c00",collectionBtn:"j3394742c",tooltipAdded:"q82cf77",tooltipNotAdded:"uc318c982",clickableAreaExp:"t40a4365c",tooltip:"jce900437",tooltipArrow:"q88838ce",fadeinout:"ld22d990d",tooltipText:"k3d0a89ca",tooltipLink:"y172f4fd7",adLabelBg:"je2103964",adLabel:"fdf8aea41",mini:"pd4525be1",small:"p98680a1d",pipe:"d44093fee",link:"wbee4f022"},e.exports=r},function(e,t){e.exports='<svg width="8" height="20" fill="#fff" xmlns="http://www.w3.org/2000/svg"><circle cx="4" cy="4" r="1.5"/><circle cx="4" cy="10" r="1.5"/><circle cx="4" cy="16" r="1.5"/></svg>'},function(e,t){e.exports='<svg width="28" height="8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.857 7.163c1.55 0 2.325 0 3.02-.293.695-.292 1.236-.846 2.32-1.955l2.133-2.183C12.586 1.447 13.214.804 14 .804s1.414.643 2.67 1.928l2.133 2.183c1.084 1.109 1.625 1.663 2.32 1.955.695.293 1.47.293 3.02.293H28 0h3.857z" fill="#343334"/></svg>'},function(e,t){e.exports='<svg width="16" height="14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.999 12.945c-.75-.508-2.395-1.685-3.884-3.175-.789-.79-1.515-1.648-2.04-2.524-.528-.88-.825-1.73-.825-2.516C1.25.452 6.084.02 7.323 2.616L8 4.032l.677-1.416C9.917.02 14.75.452 14.75 4.73c0 .786-.297 1.637-.825 2.516-.525.876-1.251 1.735-2.04 2.524-1.49 1.491-3.138 2.669-3.886 3.175z" stroke="currentColor" stroke-width="1.5"/></svg>'},function(e,t){e.exports='<svg width="10" height="12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.75 11.25v0h0L5.47 8.606 5 8.226l-.47.38-3.28 2.645h0V1.127a.375.375 0 01.375-.375h6.75c.1 0 .195.04.265.11l.53-.53-.53.53c.07.07.11.166.11.265V11.25z" stroke-width="1.5" stroke="currentColor"/></svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFullscreenTheme=t.DEFAULT_FULLSCREEN_THEME=void 0,t.DEFAULT_FULLSCREEN_THEME="light",t.getFullscreenTheme=function(e){return e.fullscreenTheme||t.DEFAULT_FULLSCREEN_THEME}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tryParse=void 0,t.tryParse=function(e){try{return(0,n(5).isString)(e)?n.lv["json"].parse(e):void 0}catch(e){return}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFloorAd=void 0;t.isFloorAd=function(e){return Boolean(e&&e.floorAd)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSsrActualFormat=void 0;var r={"ssr-poster":3,"ssr-zen":4,"ssr-zen-2":5,"ssr-motion":6,"ssr-adaptiveConstructor":7,"ssr-billboard":8,"ssr-adaptive-v3":9,"ssr-adaptive-leaderboard":10,"ssr-adaptive-leaderboard-avito":11,"ssr-adaptive-row":12,"ssr-adaptive-square":13,"ssr-adaptive-tower":14,"ssr-adaptive-tower-avito":15,"ssr-smart-tile":16,"ssr-poster-carousel":17,"ssr-smart-mosaic":18,"ssr-horizontalSD":19,"ssr-fullscreen":20,"ssr-fullscreen-grid":21};t.getSsrActualFormat=function(e,t){if(78!==e)return e;var n,i=t.ssrName;return void 0!==(n=i)&&n in r?r[i]:e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsYaBrowser=void 0;t.getIsYaBrowser=function(e){return void 0===e&&(e=window),/YaBrowser/.test((0,n(184).getUserAgent)(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNewFullscreen=void 0,t.isNewFullscreen=function(e){return"fullscreen"===(null==e?void 0:e.name)||"fullscreen_grid"===(null==e?void 0:e.name)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calcVisibilityTime=void 0,t.calcVisibilityTime=function(e){if(e&&"exposureTimeout"in e){var t=parseInt(e.exposureTimeout,10);if(!isNaN(t))return t}return(0,n(454).getDelay)(n(237).VISIBILITY_CRITERIA.YA)}},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=function(e,t){return e/t>=1.6};function s(e,t){if(this._downscaleRatio=t?2:1,!(0,n(10).isArray)(e))throw new Error("Picture: \u043f\u0435\u0440\u0435\u0434\u0430\u043d \u043d\u0435 \u043c\u0430\u0441\u0441\u0438\u0432");if(!e.length)throw new Error("Picture: \u043f\u0435\u0440\u0435\u0434\u0430\u043d \u043f\u0443\u0441\u0442\u043e\u0439 \u043c\u0430\u0441\u0441\u0438\u0432");this._images=(0,n(12).map)(e,this._createDownscaled,this)}s.prototype={getFitting:function(e,t,r,o){var a,s=this,c=(0,n(189).getDownlink)();return r=r||0,!o&&-1!==c&&c<.4&&(o=1.5),(0,n(2).forEach)(this._images,(function(n){var c=i({},n),l=e;o&&(c.width*=o,c.height*=o),c.width/c.height>=1.6&&(l=e+e*r),c=s._downscale(c,l,t,e),a&&!s._isFittingBetter(c,a)||(a=c)}),this),2===this._downscaleRatio&&this._upscale(a,e,t,this._downscaleRatio),delete a.area,a},getAll:function(){return this._images},_createDownscaled:function(e){var t=Number(e[1]),n=Number(e[2]),r=(e[3]||{})["smart-center"]||{x:t/2,y:n/2,w:0,h:0};return{src:e[0],width:Math.floor(t/this._downscaleRatio),height:Math.floor(n/this._downscaleRatio),isWide:a(t,n),smartCenter:{x:r.x/t,y:r.y/n,width:r.w/t,height:r.h/n}}},_isFittingBetter:function(e,t){return e.area.visible>t.area.visible||e.area.visible===t.area.visible&&e.area.original<t.area.original},_downscale:function(e,t,n,r){var o,a,s;return e=i({area:{original:e.width*e.height}},e),t=t||e.width,n=n||e.height,(e=i({},e,{},(o=e,a={width:t,height:n},s=Math.min(a.width/o.width,a.height/o.height,1),{width:Math.round(o.width*=s),height:Math.round(o.height*=s)}))).area.visible=Math.min(r,e.width)*Math.min(n,e.height),e},_upscale:function(e,t,n,r){var i=Math.min(t/e.width,n/e.height,r);i>1&&(e.width=Math.round(e.width*i),e.height=Math.round(e.height*i))}},s.isWide=a,e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseClickMacro=void 0,t.canUseClickMacro=function(e){return(0,n(39).isHostInList)(e,["wifi"])}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.extendUrl=void 0;var i=function(e){return e},o=i,a=i;t.extendUrl=function(e,t,i){var c=a(e);if(s(c))return e;var l={};if(i){var u=(0,n(647).createClickInfo)(i);l=(0,n(1599).mapObjectValues)((0,n(1600).filterObject)(u,(function(e){return void 0!==e})),String)}return o((0,n(23).addParamsToUrl)(c,r(r({},t),l)))};var s=function(e){return["direct.yandex.ru","vk.com","facebook.com","twitter.com","connect.ok.ru"].some((function(t){return e.indexOf(t)>-1}))}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ASSOCIATED_BLOCKS=void 0;var i=n(1334),o=i.ADAPTIVE,a=i.ZEN,s=i.ADAPTIVE_0418,c=i.MOTION,l=i.POSTER_V3,u=i.BILLBOARD,d=i.ADAPTIVE_V3,p=i.SSR,f={skin:"poster",measurer:"poster",advMinWidth:186,advMinHeight:190,clickableBackground:!0},h=[l,r(r({},f),{layout:"horizontal"})],v=[l,r(r({},f),{layout:"vertical"})];var m={measurer:"vertical",layout:"vertical",advMinSquare:12640,advMinHeight:80,bannerBorder:!0};t.ASSOCIATED_BLOCKS={posterVertical:v,posterHorizontal:h,newPosterVertical:v,newPosterHorizontal:h,vertical:[d,m],vertical0318:[d,m],zen:[a,{}],horizontal0318:[s,{measurer:"horizontal",advMinSquare:55e3,advTitleSize:"small"}],oldHorizontal:[s,{measurer:"horizontal",advMinSquare:55e3}],"240x400":[s,{width:240,height:400,showPhoneButton:!0}],"320x480":[s,{width:320,height:480,hideAdtuneInSsp:!0}],"300x500":[s,{width:300,height:500}],"320x100":[s,{width:300,height:500}],"300x600":[s,{width:300,height:600}],"728x90":[s,{width:728,height:90}],"728x90-design":[s,{width:728,height:90}],"0x90":[s,{width:0,height:90}],motion:[c,{limit:1}],modernAdaptive:[o,{}],"320x50":[s,{maxWidth:420,height:50,limit:1}],adaptive0418:[s,{}],adaptive:[s,{measurer:"adaptive"}],billboard:[u,{limit:1,measurer:"billboard"}],ssr:[p,{}]}},function(e,t,n){"use strict";e.exports={MOTION:{name:"MOTION",path:"components/motion/block-motion",isOld:!1,id:39},ADAPTIVE_0418:{name:"ADAPTIVE_0418",path:"components/adaptive/BlockAdaptive",isOld:!1,id:40},POSTER_V3:{name:"POSTER_V3",path:"components/adaptive/BlockPosterV3",isOld:!1,id:41},BILLBOARD:{name:"BILLBOARD",path:"components/billboard/billboard-loader",isOld:!1,id:73},ADAPTIVE_V3:{name:"ADAPTIVE_V3",path:"components/adaptive/BlockAdaptiveV3",isOld:!1,id:74},SSR:{name:"SSR",path:"blocks/ssrBlock",isOld:!0,id:78}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFullscreenController=void 0;var r,i=window;t.loadFullscreenController=function(e){return r||(r=new Promise((function(e){n(1611)((function(){return e(i.Ya.fullscreen)}),(function(e){return n(15).logger.error(e,"FullscreenController bundle loading error")}))}))),e&&r.then((function(t){e(t)})),r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFloorAdController=void 0;var r,i=n(15);t.loadFloorAdController=function(e){r?e(r):n(1612)((function(t){var n=t.floorAdController;e(r=n)}),(function(e){i.logger.error(e,"FloorAdController bundle loading error")}))}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.loadInterscrollerController=void 0,t.loadInterscrollerController=function(e){return r||(r=new Promise((function(e){n(1613)((function(t){e(t.interscrollerController)}),(function(e){return n(15).logger.error(e,"InterscrollerController bundle loading error")}))}))),e&&r.then((function(t){e(t)})),r}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeCreativeParams=void 0;var i=n(19),o=n(10);t.normalizeCreativeParams=function(e){var t=r({},e);return(0,i.forOwn)(t,(function(e,n){if((0,o.isArray)(e)&&1===e.length){var r=e[0];isNaN(Number(r))||(t[n]=Number(r)),(n.startsWith("HAS_")||n.startsWith("IS_")||n.endsWith("_AUTO"))&&(t[n]=Boolean(r))}})),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeClassNames=void 0;var r=n(2),i=n(529);t.encodeClassNames=function(e){var t=[];return(0,r.forEach)(e.split(" "),(function(e){e&&t.push(i.getAlias(e,"s9eHqySU2Z"))})),t.join(" ")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLinkTarget=t.handleClick=void 0;var r=/^https:\/\/direct\.yandex\.ru\//;function i(e){for(var t=e;t;){if(t.href)return t;t=t.parentElement}return null}t.handleClick=function(e,t,o){var a=i(e.target);if(a){var s,c,l=a.href;if((0,n(1288).closestByAttribute)(a,"data-collection-link"))(0,n(1289).open)(e,l);else{var u=l.match(r);if(!u&&t&&t.shouldUseIntentLink&&t.shouldUseIntentLink())c=(0,n(1648).generateIntentUrl)(l),a.setAttribute("data-intent",c);else if(!u&&t&&t.shouldUseSendBeacon&&t.shouldUseSendBeacon())t.sendViaSendBeacon(o,e),s=c=t.getTargetUrl();else{var d=(0,n(1332).extendUrl)(l,o,e);s=new(n(315).Url)({host:d}).getUrl(),c=d}a.href=c,s&&(0,n(1289).open)(e,s)}}},t.getLinkTarget=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preventClicks=void 0,t.preventClicks=function(e,t){for(var n=["click","mousedown","mouseup","touchstart","touchend"],r=Date.now(),i=function(e){Date.now()-r<t&&(e.stopPropagation(),e.preventDefault())},o=0,a=n;o<a.length;o++){var s=a[o];e.addEventListener(s,i,{passive:!1})}setTimeout((function(){for(var t=0,r=n;t<r.length;t++){var o=r[t];e.removeEventListener(o,i,!0)}}),t)}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ExperimentsProvider=t.useExperiments=void 0;var i=n(667);t.useExperiments=(r=(0,i.createCtx)())[0],t.ExperimentsProvider=r[1]},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CarouselController=void 0;var o=n(669),a=n(1448),s=n(1214),c=n(307),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getCurrentIndex=function(){var e=this.props.orientation,t=this.getTrackPosition();if(e===s.CarouselOrientation.HORIZONTAL){var n=this.trackElement.parentElement.offsetWidth;return(0,o.findIndex)(this.slideElements,(function(e){return(0,c.isInRange)(t+n/2-e.offsetLeft,0,e.offsetWidth)}))}if(e===s.CarouselOrientation.VERTICAL){var r=this.trackElement.parentElement.offsetHeight;return(0,o.findIndex)(this.slideElements,(function(e){return(0,c.isInRange)(t+r/2-e.offsetTop,0,e.offsetHeight)}))}return-1},t}(a.BaseCarouselController);t.CarouselController=l},,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRAF=t.FRAME_TIME=void 0,t.FRAME_TIME=1e3/60,t.getRAF=function(e){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame;if(n)return n.bind(e);var r=0;return function(n){var i=Date.now(),o=Math.max(0,t.FRAME_TIME-(i-r));r=i+o,e.setTimeout(n,o)}}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PARTIAL_CONTAINER_NAME=void 0,t.PARTIAL_CONTAINER_NAME="partial-container"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZEN_FEEDBACK_CANCEL_BUTTON_DATA_NAME=void 0,t.ZEN_FEEDBACK_CANCEL_BUTTON_DATA_NAME="zen2-feedback-cancel-button"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZEN_FEEDBACK_COMPLETED_DATA_NAME=void 0,t.ZEN_FEEDBACK_COMPLETED_DATA_NAME="zen2-feedback-completed"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZEN_FEEDBACK_REASONS_DATA_NAME=void 0,t.ZEN_FEEDBACK_REASONS_DATA_NAME="zen2-feedback-reasons"},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2ContextMenuClientCode=void 0;var o=n(629),a=n(34),s=n(626),c=n(315),l=n(1758),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){this.initButton(),this.initMenu()},t.prototype.initButton=function(){var e=this,t=this.props.contextMenuButton;t&&(this.addEventListener(t,"click",(function(t){t.stopPropagation(),e.toggle()})),this.addEventListener(t,"touchstart",(function(e){e.stopPropagation()})))},t.prototype.initMenu=function(){var e=this,t=this.props,n=t.contextMenu;t.isFixPopupPosition&&this.updateContextMenuPosition(),n&&(this.addEventListener(n,"click",(function(e){e.stopPropagation()})),this.addEventListener(n,"touchstart",(function(e){e.stopPropagation()}))),this.addEventListener(window,"click",(function(){e.close()})),this.addEventListener(window,"touchstart",(function(){e.close()}))},t.prototype.close=function(){this.isOpen()&&this.toggle()},t.prototype.toggle=function(){var e=this.props,t=e.contextMenu,n=e.salt,r=e.abuseUrl,i=e.isFixPopupPosition,o=e.onClose,a=e.onOpen;if(t){var u=this.isOpen();r&&(0,s.sendPixel)(new c.Url({host:r,params:{"action-id":"0","reason-id":u?"2":"1"}}).getUrl()),i&&this.updateContextMenuPosition(),t.classList.toggle(l("contextMenu_visible",n)),o&&u&&o(),a&&!u&&a()}},t.prototype.isOpen=function(){var e=this.props,t=e.contextMenu,n=e.salt;return Boolean(null==t?void 0:t.classList.contains(l("contextMenu_visible",n)))},t.prototype.updateContextMenuPosition=function(){var e=this.props,t=e.container,n=e.contextMenu,r=e.contextMenuButton,i=e.fixPositionTopMargin,o=e.fixPositionBottomMargin;if(n&&r){var s=(0,a.getBoundingClientRect)(t),c=(0,a.getBoundingClientRect)(r),l=c.top-s.top,u=s.bottom-c.bottom;l>=u?(n.style.removeProperty("top"),n.style.setProperty("bottom","".concat(s.bottom-c.top,"px")),n.style.setProperty("max-height","".concat(l-(i||10),"px"))):(n.style.removeProperty("bottom"),n.style.setProperty("top","".concat(c.bottom-s.top,"px")),n.style.setProperty("max-height","".concat(u-(o||10),"px")))}},t}(o.Destroyable);t.Zen2ContextMenuClientCode=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.legalInfoElements=void 0,t.legalInfoElements={legalInfoContainer:"zen2-legal-info-popup-container",legalInfoButton:"zen2-legal-info-popup-button",legalInfoPopup:"zen2-legal-info-popup"}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("saba8f8ab",e),t)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2SharePopupClientCode=void 0;var o=n(629),a=n(1362),s=n(1006),c=n(1766),l=n(1129),u=n(1767),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this.props.container;this.elements=(0,l.getElementsByDataFromMap)(c.sharePopupElementsDataNames,e),this.initCopyButton(),this.initContextMenu()},t.prototype.initCopyButton=function(){var e=this.elements.copyButton,t=this.props.salt;if(e){var n=(e.dataset||{}).url,r=void 0===n?"":n;this.addEventListener(e,"click",(function(){(0,s.copyToClipBoard)(r),e.classList.add(u("copyButton_copied",t))}))}},t.prototype.initContextMenu=function(){var e=this.props,t=e.container,n=e.salt,r=this.elements,i=r.sharePopupPopup,o=r.sharePopupButton,s=r.copyButton;i&&o&&this.addResource("contextMenu",new a.Zen2ContextMenuClientCode({container:t,contextMenu:i,contextMenuButton:o,salt:n,onClose:function(){s&&s.classList.remove(u("copyButton_copied",n))}}))},t}(o.Destroyable);t.Zen2SharePopupClientCode=d},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.SubscribeButtonController=void 0;var o=n(629),a=n(1452),s=n(972),c=n(251),l=n(1768),u=n(648),d=n(1769),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this.props.container;this.elements=function(e){return{subscribeButtonElement:(0,s.getElementByData)("name",l.subscribeButtonElement,e)}}(e),this.initButton()},t.prototype.initButton=function(){var e=this,t=this.elements.subscribeButtonElement,n=function n(){t&&(t.removeEventListener("click",n),e.setButtonSubscribed(),e.getCsrf().then((function(t){e.subscribe(t),e.sendMetrikaGoal()})))};t&&(t.addEventListener("click",n),this.doOnDestroy((function(){t.removeEventListener("click",n)})))},t.prototype.getCsrf=function(){return(0,a.request)({method:"get",url:l.CSRF_URL,withCredentials:!0}).then((function(e){var t=function(e){try{return n.lv["json"].parse(e)}catch(t){throw new Error("Bad response:".concat(t.message,":").concat(e))}}(e.response||e.responseText);if("token"in t)return t["token"];throw new Error("No token in data")}))},t.prototype.subscribe=function(e){var t,n=((null===(t=this.elements.subscribeButtonElement)||void 0===t?void 0:t.dataset)||{}).publisherId,r="".concat(l.SUBSCRIBE_URL,"&item_id=").concat(n,"&_csrf=").concat(e);n&&(0,a.request)({method:"get",url:r,withCredentials:!0})},t.prototype.sendMetrikaGoal=function(){var e,t=(null===(e=this.elements.subscribeButtonElement)||void 0===e?void 0:e.dataset)||{},n=t.metrikaId,r=t.metrikaGoal,i=Number(n);isFinite(i)&&r&&(0,c.requestCounter)({id:i,enableCookies:!0},(function(e){e.reachGoal(r)}))},t.prototype.setButtonSubscribed=function(){var e=this.elements.subscribeButtonElement,t=((null==e?void 0:e.dataset)||{}).lang,n=this.props.salt;e&&t&&(e.classList.add(d("subscribed",n)),e.innerText=(0,u.i18n)("SUBSCRIBED",t))},t}(o.Destroyable);t.SubscribeButtonController=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elements=void 0;var r=n(1158);t.elements={adContainer:"zen2-desktop",imageContainer:"zen2-imageContainer",imageWrapper:"zen2-imageWrapper",imageLayout:"zen2-imageLayout",contentContainer:"zen2-contentContainer",layout:"zen2-layout",sitelinksContainer:"zen2-sitelinkContainer",priceContainer:"zen2-priceContainer",image:r.imageElements.imageContainer,feedbackPopupButton:"zen2-feedback-popup-button",adtuneThankYouContainer:"zen2-adtune-thank-you-container",adtuneFeedbackContainer:"zen2-adtune-feedback-container"}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.AdLoaderPlayer=void 0;var a=(0,n(13).once)((function(){n(15).logger.traceLog({},"WorkaroundPauseAdUsing")})),s=(0,n(13).once)((function(){n(15).logger.traceLog({},"WorkaroundResumeAdUsing")}));function c(e){var t,r,i=e.currentTime,o=e.duration;return(0,n(493).isPositiveFiniteNumber)(o)&&(0,n(1778).isUnsignedFiniteNumber)(i)?(t=i/o,r=o-i):(t=0,r=0),{progress:t,remainingTime:r}}var l=function(e){function t(t){var r=t.slot,i=t.videoSlot,l=t.adLoaderConfig,u=t.onInit,d=t.logParams,p=t.playbackParameters,f=t.loopVideoAfterPlayback,h=e.call(this)||this;h.adPodPlayingState=new(n(540).ValueSignal)("idle"),h.adPodRemainingTime=new(n(540).ValueSignal)(0),h.isAdPodStarted=new(n(540).ValueSignal)(!1),h.adLoaderPlayerStatus=new(n(540).ValueSignal)("idle");var v=(0,n(679).loadVasModule)({win:window,moduleName:"AdLoader",config:(0,n(677).prepareVasLoaderConfig)(),vasLoaderUrl:(0,n(661).getAdsdkUrl)(),serviceName:"pcode",serviceVersion:String((0,n(20).getCodeVersion)())}).promise,m=c(i);h.videoSlotProgress=new(n(540).ValueSignal)(m.progress),h.videoSlotRemainingTime=new(n(540).ValueSignal)(m.remainingTime);var g=function(){var e=c(i),t=e.progress,n=e.remainingTime;h.videoSlotProgress.dispatch(t),h.videoSlotRemainingTime.dispatch(n)};i.addEventListener("timeupdate",g),h.addDestroyHandler((function(){i.removeEventListener("timeupdate",g)}));var _=(0,n(1471).combineValueSignalsIntoNewOne)([h.adPodPlayingState,h.adPodRemainingTime,h.videoSlotRemainingTime],(function(e,t,n){return"end"===e?n:t})),y=_.valueSignal,b=_.teardown;return h.adMediaRemainingTime=y,h.addDestroyHandler(b),v.then((function(e){return l.vastBase64&&n(15).logger.traceLog({},"AdLoaderVastBase64"),e.AdLoader.create(o(o({},l),{adBreakType:"preroll"}))})).then((function(e){return e.loadAd()})).then((function(e){var t=e.createPlaybackController(i,r,o(o({controlsSettings:n(692).VAS_CONTROLS_SETTINGS_HIDE_ALL,backgroundBlur:!1,retainLastMediaAfterPlayback:Boolean(f)},p),n(678).SURVEY_INPAGE_PLAYBACK_PARAMETERS));h.addDestroyHandler(t.subscribe("AdStarted",(function(){h.isAdPodStarted.dispatch(!0)}))),h.addDestroyHandler(t.subscribe("AdStartRequest",(function(){h.adLoaderPlayerStatus.dispatch("playing")})));var c=function(){h.adPodRemainingTime.dispatch(t.getAdPodRemainingTime())};if(c(),h.addDestroyHandler(t.subscribe("AdRemainingTimeChange",c)),h.addDestroyHandler(t.subscribe("AdPlayingStateChange",(function(){h.adPodPlayingState.dispatch(t.getAdPlayingState())}))),f){var l=t.resumeAd,v=t.pauseAd;t.resumeAd=function(){"end"===t.getAdPlayingState()?(s(),i.play()):l()},t.pauseAd=function(){"end"===t.getAdPlayingState()?(a(),i.pause()):v()}}t.subscribe("AdStopped",(function(){if(f){var e=t.getMediaElementStatusAfterAdStopped();e&&e.lastMediaRetained?(i.loop=!0,i.play(),i.muted=!0,h.adLoaderPlayerStatus.dispatch("looped")):(n(15).logger.traceLog({},"CannotRetainLastMediaForLoopPackshot"),h.adLoaderPlayerStatus.dispatch("completed"))}else h.adLoaderPlayerStatus.dispatch("completed")})),e.setStatsRootFields({pcodeStats:d}),u(t)}))["catch"]((function(e){n(15).logger.error(e,"AdLoader Error")})),h}return i(t,e),t}(n(452).Destroyable);t.AdLoaderPlayer=l},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2AdtuneClientCode=void 0;var a=n(629),s=n(972),c=n(1258),l=n(644),u=n(626),d=n(315),p=n(47),f=n(320),h=n(537),v=n(0),m=n(655),g=n(1304);var _=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this.props.container;this.elements=function(e){var t=(0,s.getElementByData)("name",c.ZEN_FEEDBACK_POPUP_BUTTON_DATA_NAME,e),n=(0,s.getElementByData)("name","zen2-header-container",e);return{adtuneFeedback:(0,s.getElementByData)("name","zen2-adtune-feedback-container",e),feedbackPopupButton:t,headerContainer:n}}(e),this.elements.feedbackPopupButton&&this.initAdtuneMenu()},t.prototype.initAdtuneMenu=function(){var e=this.props.container,t=this.elements.feedbackPopupButton;t&&(this.adtuneClientCodeWorker=new y(o(o({},this.props),{feedbackPopupButton:t,adtuneContainer:this.elements.adtuneFeedback||e,adContainer:e})),this.addResource("adtune",this.adtuneClientCodeWorker))},t}(a.Destroyable);t.Zen2AdtuneClientCode=_;var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isOpenAdtune=!1,t}return i(t,e),t.prototype.init=function(){this.initButton()},t.prototype.initButton=function(){var e=this,t=this.props.feedbackPopupButton;t&&this.addEventListener(t,"click",(function(t){t.stopPropagation(),e.toggle()}))},t.prototype.toggle=function(){var e=this,t=this.props,n=t.abuseUrl,r=t.onCloseMenu,i=t.onOpenMenu,a=t.adContainer,c=t.adtuneContainer,_=t.feedbackPopupButton,y=t.getAlias,b=t.getParentAlias,C=t.salt,O=t.adv,E=t.dataSource,A=t.indent,I=t.closeButtonIndent,S=t.className;if(n&&(0,u.sendPixel)(new d.Url({host:n,params:{"action-id":"0","reason-id":this.isOpenAdtune?"2":"1"}}).getUrl()),c.classList.contains(y("adtuneFeedback",C))&&c.classList.toggle(y("adtuneFeedback_visible",C)),this.isOpenAdtune){var T=(0,s.getElementByData)("name","adtune-feedback",c);T&&(0,p.removeNodeFromParent)(T)}else{var w=_.dataset.theme===g.Zen2ThemeColor.BLACK,R=E.getLanguage(),P=(0,f.hasSocialAdvertisingFlag)(O.bannerFlags),k=O.url.toString(),M=(0,h.prettify)(O.warning,{softBreakPunct:!1}),L=E.getSettings(),N=E.isInternalRequest()||"exp"===(0,v.useExperimentFlag)("ADVERTISER_INFO_LINK")?(0,m.getAdvertiserInfoUrl)(n):"";(0,l.showAdtune)(c,{className:S,indent:A,closeButtonIndent:I,language:R,hasBackground:!1,darkTheme:w,hasBorders:!1,abuseUrl:n,useNewAdtuneAndKebab:!0,hideCloseButton:!0,type:P?"social":"default",copyLink:k,warning:M,advertiserInfoLink:N,zenCallback:function(t){t.onReasonClick?(a.classList.add(b("withFeedback",C)),e.hideFeedbackPopupButton()):e.closeAdtune()}},{zIndexFix:!0,data:o({blockId:L.blockId,bannerId:O.adId},E.getBugData()),hasShowBug:E.hasShowBug()})}r&&this.isOpenAdtune&&r(),i&&!this.isOpenAdtune&&i(),this.isOpenAdtune=!this.isOpenAdtune},t.prototype.closeAdtune=function(){this.isOpenAdtune&&this.toggle()},t.prototype.hideFeedbackPopupButton=function(){var e=this.props,t=e.feedbackPopupButton,n=e.salt,r=e.getParentAlias;t&&t.classList.add(r("feedbackPopupButton_hidden",n))},t}(a.Destroyable)},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("ya67c52a2",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyConstructorClientCode=t.initConstructorClientCode=void 0;var r=n(2),i=n(24),o=n(656),a=n(630),s=n(1305),c=n(1479),l=n(1794),u=n(638),d=n(662),p=n(1795),f=n(1797),h=n(1146),v=n(1257),m=n(1800),g=n(1802),_={};t.initConstructorClientCode=function(e,t,n,r,y){var b=((0,a.getElementsByData)("name","adaptiveConstructorAd",e)||[])[0];if(b){(0,f.initLeadFormClientCode)(e),(0,c.initImageGalleryClientCode)(e,b.id,n),(0,l.initShoppingButtonClientCode)(e,b.id),(0,p.metricaGoalClickListener)(e),(0,m.initBackpackLogger)(e,r(),5),(0,h.initAdaptiveImageClientCode)(e,b.id,{enableAnimation:!1,lazyLoadContainer:y.carousel?(0,v.findParent)(e,(function(e){return"carousel-track"===e.dataset.name})):void 0,lazyLoadMargin:"200%"});var C=b.id;_[C]=_[C]||[],(t.vastBase64||t.vast)&&_[C].push(new s.VideoClientCode({container:e,dataSource:r(),videoParams:t,format:"constructor"})),_[C].push(new d.ScrollerClientCode({container:e,salt:n})),_[C].push(new g.TooltipClientCode({container:e}));for(var O=function(e){e.id=e.id||(0,u.generateId)(),(0,o.addObserver)(e.id,(function(t){t.inScreen&&e.dataset.animationClass&&e.classList.add(e.dataset.animationClass)}),b)},E=0,A=(0,a.getElementsByData)("has-animation","true",e)||[];E<A.length;E++){O(w=A[E])}var I=(0,a.getElementsByData)("unclickable","",b);if(I&&I.length)for(var S=0,T=I;S<T.length;S++){var w=T[S];(0,i.on)(w,"click",(function(e){return e.preventDefault()}),void 0,{capture:!0})}}},t.destroyConstructorClientCode=function(e){var t=((0,a.getElementsByData)("name","adaptiveConstructorAd",e)||[])[0];if(t){(0,h.destroyAdaptiveImageClientCode)(e,t.id,{lazyLoadContainer:(0,v.findParent)(e,(function(e){return"carousel-track"===e.dataset.name}))||void 0}),(0,c.destroyImageGalleryClientCode)(e,t.id),(0,l.destroyShoppingButtonClientCode)(e,t.id);for(var n=0,i=(0,a.getElementsByData)("has-animation","true",e)||[];n<i.length;n++){var s=i[n];(0,o.removeObserver)(s.id,t)}var u=t.id;(0,r.forEach)(_[u],(function(e){return e.destroy()})),delete _[u]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INTERSECTION_OBSERVABLE_OPTIONS=t.intersectionObserverCallback=t.initBannerSurveyClientCode=void 0;var r=n(2),i=n(24),o=n(7),a=n(630),s=n(15);function c(e){var t=e.getAttribute("data-close-animated-class"),n=e.getAttribute("data-closed-class");t&&n&&(e.classList.add(t),setTimeout((function(){e.classList.add(n)}),1e3))}t.initBannerSurveyClientCode=function(e){var t=((0,a.getElementsByData)("name","surveyClose",e)||[])[0],n=e.getAttribute("data-surveyId")||"";if(t)var l=(0,i.on)(t,"click",(function(){s.logger.traceLog({type:"closeSurvey",surveyId:n},"BANNER_SURVEY",100),c(e),(0,i.un)(l)}));var u=(0,a.getElementsByData)("name","surveyAnswer",e)||[];(0,r.forEach)(u,(function(t){var r=(0,i.on)(t,"click",(function(){var a=t.getAttribute("data-answerId")||"";s.logger.traceLog({type:"selectAnswer",answerId:a,surveyId:n},"BANNER_SURVEY",100);var l=e.getAttribute("data-done-class");l&&(e.classList.add(l),o.protect.setTimeout((function(){c(e)}),2500)),(0,i.un)(r)}))}))};t.intersectionObserverCallback=function(e){if(e.length){var t=((0,a.getElementsByData)("name","bannerSurvey",e[0].target)||[])[0];if(t){var n=t.getAttribute("data-should-visible-after-return"),r=t.getAttribute("data-surveyId")||"",i=t.getAttribute("data-visible-class");null===n&&s.logger.traceLog({type:"showSurvey",surveyId:r},"BANNER_SURVEY",100),i&&t.classList.add(i)}}},t.INTERSECTION_OBSERVABLE_OPTIONS={root:null,threshold:.5}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RtbVisibilityManager=void 0;var o=function(){function e(e){this._viewNotices=e.viewNotices,this._winNotice=e.winNotice,this._linkTail=e.linkTail,this._safeframe=e.safeframe,this._isSendTestIds=e.isSendTestIds,this._activeTestIds=e.activeTestIds,this._getClientactiveTestIds=e.getClientactiveTestIds,this._testIds=e.testIds,this._query=e.query,this.nonce=e.nonce||""}return e.prototype.confirm=function(e,t){var i=this;if(void 0===e&&(e={}),this._linkTail&&!this._isConfirmSent){(0,n(1428).patchVisibilityConfirmationFormat)(e);var o=this.getConfirmUrl(e),a=this._testIds,s=(0,n(0).generateActiveTestIds)(this._activeTestIds);if(this._viewNotices&&this._viewNotices.length){var c=(0,n(12).map)(this._viewNotices,(function(o){return function(e,t,r,i,o){if(!/\.?yandex\.[a-zA-Z]+\/(?:an\/)?count/.test(e))return e;var a=e;if(!1===t&&(a=(0,n(23).addParamToUrl)(a,"viewability-undetermined","1")),r&&(a=(0,n(23).addParamToUrl)(a,"pcode-active-testids",r)),i&&(a=(0,n(23).addParamToUrl)(a,"pcode-test-ids-from-count",i)),o)for(var s in o)a=(0,n(23).addParamToUrl)(a,s,o[s]);return a}(o,t,s,i._isSendTestIds?a:void 0,r({},e.extParams||{},e.renderSize?{renderWidth:e.renderSize.width,renderHeight:e.renderSize.height}:{},i._query))}));(0,n(1429).confirmUrls)(c,this.nonce,this._safeframe).then((function(){(0,n(469).sendConfirm)({src:o})}),(function(){n(15).logger.error(new Error("View notices load error"),"RTB_visibility_manager_error")}))}else(0,n(469).sendConfirm)({src:o});this._isConfirmSent=!0}},e.prototype.sendWinNotice=function(){!this._isWinNoticeSent&&this._winNotice&&((0,n(1429).confirmUrls)([this._winNotice],this.nonce,this._safeframe),this._isWinNoticeSent=!0)},e.prototype.getConfirmUrl=function(e){var t=e.testtagProps,r=e.renderSize,o=e.formatType,a=e.actualFormat,s=e.extParams,c=e.bannerSizes,l=new(n(334).RtbTesttag)(t),u=(0,n(0).generateActiveTestIds)(this._activeTestIds,this._getClientactiveTestIds&&this._getClientactiveTestIds()),d=i(i({},s),{"test-tag":l.toString(),"format-type":o,"actual-format":a,rnd:(0,n(72).getRandomInt)(1e12,1e13),"adsdk-bundle-version":(0,n(20).getVasVersion)()});if(u&&(d["pcode-active-testids"]=u),this._isSendTestIds&&(d["pcode-test-ids-from-count"]=this._testIds),c&&(d["banner-sizes"]=c),r&&(d.width=r.width,d.height=r.height),this._query)for(var p in this._query)d[p]=this._query[p];return new(n(315).Url)({host:this._linkTail,params:d}).getUrl()},e.getManager=function(t){return t.linkTail in e.visibilityManagers||(e.visibilityManagers[t.linkTail]=new e(t)),e.visibilityManagers[t.linkTail]},e.visibilityManagers={},e}();t.RtbVisibilityManager=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patchVisibilityConfirmationFormat=void 0,t.patchVisibilityConfirmationFormat=function(e){e&&e.extParams&&(e.extParams.confirmTime&&-1!==e.extParams.confirmTime&&(e.extParams.confirmTime*=1e3),e.extParams.confirmRatio&&(e.extParams.confirmRatio=Math.round(1e6*e.extParams.confirmRatio)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmUrls=void 0,t.confirmUrls=function(e,t,r){return void 0===r&&(r=!0),r?n(1254).transport.confirmUrls(e,t):((0,n(1581).confirmVisibility)(e),Promise.resolve())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsChrome=void 0;t.getIsChrome=function(e){return void 0===e&&(e=window),/Chrome/.test(e.navigator.userAgent)&&/Google Inc/.test(e.navigator.vendor)&&!(0,n(1327).getIsYaBrowser)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseAdtune=void 0,t.canUseAdtune=function(e){return!(0,n(39).isHostInList)(e,["authwifi"])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelizeKeys=void 0;t.camelizeKeys=function(e){var t={};return(0,n(19).forOwn)(e,(function(e,r){t[(0,n(1198).camelize)(r)]=e})),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getViewNotices=void 0,t.getViewNotices=function(e){var t=[];return e.viewNotices&&e.viewNotices.length&&(t=t.concat(e.viewNotices)),(0,n(5).isString)(e.viewNotice)&&""!==e.viewNotice&&t.push(e.viewNotice),t=(0,n(12).map)((0,n(59).unique)(t),(function(e){return new(n(315).Url)({host:e}).getUrl()}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipTokenSliderValues=void 0,t.skipTokenSliderValues={miss:0,exp:1,ctl:2}},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o={};(0,n(2).forEach)(n(1605),(function(e){e.index=e.id,e.className="adapterComponentBlock",e.limit=e.limit||n(145).MAX_ADS_LIMIT,o[e.name]=e})),e.exports={getFormatByName:function(e){var t=o[e];return t?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t):null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateBlockSizeFromMeta=t.calculateBlockSize=t.isAdaptiveSmartFormat=void 0;var r=n(12),i=n(18),o=n(1619),a=n(49),s=n(32),c=n(1620),l=n(1621),u=n(1622),d=[{width:160,height:600},{width:240,height:400},{width:240,height:600},{width:300,height:300},{width:300,height:500},{width:300,height:600},{width:300,height:900},{width:320,height:100},{width:336,height:280},{width:600,height:340},{width:970,height:250},{width:1e3,height:120},{width:1200,height:150}],p={"smart-banner-adaptive_v1":c.canRenderInBlock,"smart-banner-mosaic_v1":l.canRenderInBlock};t.isAdaptiveSmartFormat=function(e){return(0,a.includes)((0,s.getObjectKeys)(p),e)};var f=function(e,t){return 0!==t.width?Math.abs(t.width-e.width)+e.height/600:0!==t.height?Math.abs(t.height-e.height)+1/e.width:0},h=function(e,t,n){return Math.max.apply(Math,(0,r.map)(e,t,n))};function v(e,t){var n=t.blockWidth,r=t.blockHeight,a=t.offersCount,s=p[e];if(s){if(n>0&&r>0)return{width:n,height:r};var c=(0,i.filter)(d,(function(e){return s(e,{offersCount:a})})),l=h(c,(function(e){return e.width})),u=h(c,(function(e){return e.height})),v=(0,o.closest)({width:n,height:r},c,f);if(v&&(0!==n||0!==r)){var m=Math.max(Math.min(n,l)/v.width,Math.min(r,u)/v.height);return{width:Math.round(v.width*m),height:Math.round(v.height*m)}}return{width:300,height:300}}}t.calculateBlockSize=v,t.calculateBlockSizeFromMeta=function(e){var t,n=Number(e.width),r=Number(e.height),i=(0,u.makeBannerProps)({metaData:e.data,blockWidth:n,blockHeight:r,bannerName:e.format,enableAnimation:!0});return v(e.format,{blockWidth:n,blockHeight:r,offersCount:(null===(t=i.offers)||void 0===t?void 0:t.length)||0})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={"&laquo":"\xab","&raquo":"\xbb","&bdquo":"\u201e","&rdquo":"\u201d","&lsaquo":"\u2039","&rsaquo":"\u203a","&ndash":"\u2013","&mdash":"\u2014","&#039":"'","&lt":"<","&gt":">","&quot":'"'},i={};function o(e){return i[e]||(i[e]=new RegExp("".concat(e,"(;)?"),"gm"))}t["default"]=function(e){for(var t in r)-1!==e.indexOf(t)&&(e=e.replace(o(t),r[t]));return e}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getSerializedTesttag=t.addTestTag=t.getTheme=t.THEMES=t.TesttagName=t.VPAID_TYPE=t.getFormat=t.FORMATS=void 0;var i=n(23);t.FORMATS={"240x400":1,"240x600":2,"300x250":3,"300x500":4,"300x600":5,"728x90":6,"970x250":7,"1000x120":8,motion:9,video:10};t.getFormat=function(e,n){return t.FORMATS["".concat(e,"x").concat(n)]||0},function(e){e[e["SMART_CREATIVE"]=1]="SMART_CREATIVE",e[e["VPAID_CREATIVE"]=2]="VPAID_CREATIVE",e[e["VPAID_INTERSTITIAL"]=3]="VPAID_INTERSTITIAL",e[e["VPAID_PYTHIA"]=4]="VPAID_PYTHIA",e[e["VPAID_MOTION"]=5]="VPAID_MOTION",e[e["VPAID_PREMIUM"]=6]="VPAID_PREMIUM"}(t.VPAID_TYPE||(t.VPAID_TYPE={})),function(e){e["VIDEO"]="video-test-tag",e["MEDIA"]="media-test-tag"}(t.TesttagName||(t.TesttagName={})),t.THEMES={"smart-banner_theme_auto":1,"smart-banner_theme_auto-accordion":2,"smart-banner_theme_auto-static-accordion":3,"smart-banner_theme_avia":4,"smart-banner_theme_big-image":5,"smart-banner_theme_dzen":6,"smart-banner_theme_dzen-text":7,"smart-banner_theme_hover":8,"smart-banner_theme_mobile":9,"smart-banner_theme_mobile-tap":10,"smart-banner_theme_mosaic":11,"smart-banner_theme_multiple":13,"smart-banner_theme_normal":14,"smart-banner_theme_realty":15,"smart-banner_theme_travel":16,"video-banner_theme_caucasus":17,"video-banner_motion":18,"video-banner_theme_moroz":19,"video-banner_theme_lake":20,"video-banner_theme_empty":21,"video-banner_motion-rmp":22,"video-banner_theme_zen":23,"video-banner_theme_video-smart":24,"video-banner_theme_string":25,"video-banner_theme_interstitial":26,"video-banner_theme_premium":27,"video-banner_motion_3":28,"video-banner_theme_audio":29,"video-banner_theme_rmp":30,"smart-banner-adaptive_v1":31,"media-banner_theme_big-pic-button_v_2":32,"media-banner_theme_divided_v_1":33,"media-banner_theme_divided_v_2":34,"media-banner_theme_gif_v_1":35,"media-banner_theme_gif_v_2":36,"media-banner_theme_metro_v_2":37,"media-banner_theme_pic-button-color-background_v_1":38,"media-banner_theme_pic-button-color-background_v_2":39,"media-banner_theme_speedy_v_1":40,"media-banner_theme_speedy_v_2":41,"media-banner_theme_twin_v_1":42,"media-banner_theme_twin_v_2":43,"media-banner_theme_wine-adaptive_v_1":44,"media-banner_theme_wine-adaptive_v_2":45,"media-banner_theme_wine-adaptive_v_3":46,"media-banner_theme_wine_v_1":47,"media-banner_theme_wine_v_2":48,"media-banner_theme_big-pic-button_v_1":49,"smart-banner_theme_clothes":50,"media-banner":51,"smart-banner-mosaic_v1":52,"media-banner_theme-image":53,"media-banner_theme-html5":54};function o(e){return String(e.serialize())}t.getTheme=function(e){return t.THEMES[e]||0},t.addTestTag=function(e,t,n){var a=o(t);if("string"==typeof e)return(0,i.addParamToUrl)(e,n,a);var s=r({},e);return Object.keys(s).forEach((function(e){s[e]=(0,i.addParamToUrl)(s[e],n,a)})),s},t.getSerializedTesttag=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFormatName=void 0,t.getFormatName=function(e){return e&&e.name}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadClientCodeDesignDefault=void 0;t.loadClientCodeDesignDefault=function(){return new Promise((function(e,t){n(1638)((function(t){e(t)}),(function(e){return t(e)}))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VNodeReplace=void 0;var r=n(108),i=n(530);function o(){return function(e){"div"===e.type&&(e.type="yatag")}}t.VNodeReplace=function(e){var t=e.children,n=e.replace,a=void 0===n?o:n,s=r.options.vnode;return r.options.vnode=a(s),(0,i.useLayoutEffect)((function(){r.options.vnode=s}),[]),(0,r.h)(r.Fragment,null,t)}},function(e,t){e.exports=function(e){var t=[];return t.push(".",e.id,"{opacity:",e.opacity," !important;white-space:normal !important;visibility:visible !important}.",e.id,",.",e.id," yatag{display:block !important;font-family:inherit !important}.",e.id,",.",e.id,",.",e.id," a,.",e.id," b,.",e.id," em,.",e.id," iframe,.",e.id," img,.",e.id," table,.",e.id," tbody,.",e.id," td,.",e.id," tr,.",e.id," yatag{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;color:inherit !important;font-size:inherit !important;font-weight:inherit !important;-webkit-hyphens:manual !important;-ms-hyphens:manual !important;hyphens:manual !important;-webkit-transition:none !important;-o-transition:none !important;transition:none !important}.",e.id,",.",e.id," a,.",e.id," b,.",e.id," em,.",e.id," iframe,.",e.id," img,.",e.id," table,.",e.id," tbody,.",e.id," td,.",e.id," tr{background:none !important;border:none !important;border-radius:0 !important;border-spacing:0 !important;border-collapse:collapse !important;clear:none !important;float:none !important;font-variant:normal !important;letter-spacing:normal !important;line-height:normal !important;margin:0 !important;max-height:none !important;max-width:none !important;min-height:0 !important;min-width:0 !important;outline:none !important;padding:0 !important;position:static !important;text-align:left !important;text-decoration:none !important;text-indent:0 !important;text-transform:none !important;vertical-align:baseline !important;visibility:inherit !important;word-spacing:normal !important}.",e.id,",.",e.id," a,.",e.id," b,.",e.id," em,.",e.id," img,.",e.id," table,.",e.id," tbody,.",e.id," td,.",e.id," tr{height:auto !important}.",e.id," table{display:table !important;empty-cells:hide !important;table-layout:fixed !important}.",e.id," table,.",e.id," td{font-size:100% !important}.",e.id," td{display:table-cell !important;vertical-align:middle !important}.",e.id,"{width:",e.honeyWidth," !important;height:",e.honeyHeight," !important;overflow:",e.visibility," !important}"),t.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getShadowRootOptions=void 0;t.getShadowRootOptions=function(e){var t=n(551).isIOS&&(n(1649).isChrome||n(1650).isYaBrowser||n(1651).isYandexApp)||e.isYandex();return{stretch:!e.isInterscroller(),shadowDomMode:t?"open":"closed"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showClickConfirmation=void 0;t.showClickConfirmation=function(e,t,r){var i=t.url,o=t.size,a=t.language,s=t.cancelCallback,c=t.confirmCallback;return new Promise((function(e){n(1652)((function(t){e(t.render)}),(function(e){return n(15).logger.error(e,"ClickConfirmation bundle loading error")}))})).then((function(t){var n=document.createElement("div");return e.appendChild(n),t({size:o,language:a,url:i,cancelCallback:function(t){e.removeChild(n),s(t)},confirmCallback:function(t){e.removeChild(n),c(t)}},n,r),n}))}},function(e,t,n){"use strict";function r(e){if(!("ReportingObserver"in e.window))return null;var t=e.window;function n(n){t.parent.postMessage(window.JSON.stringify({reports:n,params:e.params,name:"BROWSER_REPORTING"}),"*")}var r=new t.ReportingObserver((function(e){n(r.takeRecords().concat(e))}),{buffered:!0});r.observe();var i=r.takeRecords();return i.length&&n(i),window.addEventListener("unload",(function(e){n(r.takeRecords())})),function(){r.disconnect()}}Object.defineProperty(t,"__esModule",{value:!0}),t.getReportingEventEmitterScript=t.createReportingEventEmitter=void 0,t.createReportingEventEmitter=r,t.getReportingEventEmitterScript=function(e){return["<scr",'ipt>"use strict";(',r,")({ window, params: ".concat(n.lv["json"].stringify(e)," })</scr"),"ipt>"].join("")}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.MediaCreativeController=void 0;var o=n(1289),a=n(629),s=n(2),c=n(99),l=n(1656),u=n(1657),d=n(1341);var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){e.prototype.init.call(this);var t=this.props,n=t.container,r=(0,t.getDataSource)();(0,d.preventClicks)(n,100);var i=(0,c.listToArray)(n.querySelectorAll("a"));(0,s.forEach)(i,(function(e){var t,n,i;e.href=(n=e.href,void 0===(i=null===(t=r.getSettings())||void 0===t?void 0:t.clickMacro)&&(i=""),(0,u.addReferrerToUrl)((0,u.wrapUrlWithClickMacro)(n,i)))})),this.addEventListener(n,"click",(function(e){if(!e.target)return!1;var t=(0,l.closestElementWithAttr)(e.target,"href");return!!t&&((0,o.open)(e,t.href),!1)}),!0)},t}(a.Destroyable);t.MediaCreativeController=p},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.OffersCarouselController=void 0;var o=n(629),a=n(972),s=n(1343),c=n(1659),l=n(498),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var t=this;e.prototype.init.call(this);var n=this.props,r=n.container,i=n.onChangePage,o=(0,a.getElementByData)("name","carousel-prev-button",r),l=(0,a.getElementByData)("name","carousel-next-button",r);this.setButtonVisibility(0,o,l),this.paused=!1,this.carouselController=new s.CarouselController({container:r,orientation:r.dataset.orientation,onPageShown:function(e){var n=t.getResource("indicatorController");null==n||n.setCurrentPage(e),i(e),t.setButtonVisibility(e,o,l)}}),this.addResource("carouselController",this.carouselController);var u=(0,a.getElementByData)("name","carousel-indicator",r);u&&this.addResource("indicatorController",new c.CarouselIndicatorController({initialIndex:this.carouselController.getCurrentIndex(),container:u,onChangePage:function(e){t.carouselController.scrollTo(e),i(e)}}))},t.prototype.setButtonVisibility=function(e,t,n){var r,i=(null===(r=this.carouselController)||void 0===r?void 0:r.slideElements.length)-1;(0,l.setAttributes)(t,{"data-hidden":0===e?"":null}),(0,l.setAttributes)(n,{"data-hidden":e===i?"":null})},t.prototype.getCurrentIndex=function(){var e,t;return null!==(t=null===(e=this.carouselController)||void 0===e?void 0:e.getCurrentIndex())&&void 0!==t?t:0},t.prototype.isPaused=function(){return this.paused},t}(o.Destroyable);t.OffersCarouselController=u},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BaseCarouselController=void 0;var o=n(646),a=n(542),s=n(323),c=n(629),l=n(972),u=n(630),d=n(717),p=n(1284),f=n(283),h=n(7),v=n(1214),m=n(22),g=n(0),_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.shouldIgnoreScroll=!1,t.performedMouseScroll=!1,t.slideAnimation=null,t.autoScrollDirection=v.CarouselDirection.NEXT,t.isSmoothScrollSupports=(0,s.testProperty)("scroll-behavior: smooth"),t.onScrollStop=(0,a.debounce)((function(){t.shouldIgnoreScroll=!1}),150),t}return i(t,e),t.prototype.init=function(){var t=this;e.prototype.init.call(this);var n=this.props,r=n.container,i=n.allowedMouseScroll;this.trackElement=(0,l.getElementByData)("name",v.CAROUSEL_TRACK_NAME,r),this.slideElements=(0,u.getElementsByData)("name",v.CAROUSEL_SLIDE_NAME,r)||[],this.currentIndex=this.getCurrentIndex(),this.isPosterCarousel=Boolean((0,l.getElementByData)("name","adaptiveConstructorAd",r)||(0,l.getElementByData)("name","poster",r)),this.isCarouselExp=(0,g.useExperimentFlag)("CAROUSEL_ON_CONSTRUCTOR"),this.addEventListener(this.trackElement,"scroll",this.onTrackScroll,{passive:!0}),i&&!d.isTouchScreenDevice&&this.initDragScroll();var o=(0,l.getElementByData)("name",v.CAROUSEL_PREV_BUTTON_NAME,r),a=(0,l.getElementByData)("name",v.CAROUSEL_NEXT_BUTTON_NAME,r);o&&(this.prevButtonElement=o,this.addEventListener(o,"click",(function(e){e.preventDefault(),t.slidePrev()}))),a&&(this.nextButtonElement=a,this.addEventListener(a,"click",(function(e){e.preventDefault(),t.slideNext()})))},Object.defineProperty(t.prototype,"performedScrollWithMouse",{get:function(){return!!this.performedMouseScroll&&(this.performedMouseScroll=!1,!0)},enumerable:!1,configurable:!0}),t.prototype.logScroll=function(e,t,n){this.isCarouselExp&&this.isPosterCarousel&&(0,m.traceLog)({scrollFrom:e,scrollTo:t,action:"SCROLL",type:n,exp:this.isCarouselExp},"CAROUSEL CONSTRUCTOR SCROLL LOG",5)},t.prototype.initDragScroll=function(){var e=this,t=this.props.dragMoveMultiplier,n=void 0===t?1:t,r=!1,i=0,o=0,a=(0,h.protect)("carouselCtr:dragEnd",(function(){r=!1;var t=e.getCurrentIndex();f.isFirefox?e.trackElement.dataset.mouse="free":p.isSafari||(e.trackElement.dataset.mouse="smooth"),e.scrollTo(t),setTimeout((0,h.protect)("carouselCtr:dragEnd:t-out",(function(){e.trackElement.dataset.mouse="free",e.performedMouseScroll=!1})),200)}));this.addEventListener(this.trackElement,"mousedown",(0,h.protect)("carouselCtr:mdown",(function(t){o=0,r=!0,i=e.props.orientation===v.CarouselOrientation.VERTICAL?t.screenY:t.screenX,t.preventDefault()}))),this.addEventListener(this.trackElement,"mouseup",a),this.addEventListener(this.trackElement,"mouseleave",a),this.addEventListener(this.trackElement,"mousemove",(0,h.protect)("carouselCtr:mmove",(function(t){if(r){e.trackElement.dataset.mouse="captured",t.preventDefault(),t.stopPropagation();var a=e.props.orientation===v.CarouselOrientation.VERTICAL?t.screenY:t.screenX,s=i-a;e.setTrackPosition(e.getTrackPosition()+s*n),o+=s,i=a,Math.abs(o)>10&&(e.performedMouseScroll=!0)}})))},t.prototype.destroy=function(){var t;e.prototype.destroy.call(this),this.stopAutoScroll(),null===(t=this.slideAnimation)||void 0===t||t.stop()},t.prototype.startAutoScroll=function(e){var t=this;!this.slideElements||this.slideElements.length<2||!this.props.autoScrollDelay||(clearTimeout(this.autoScrollTimeout),this.autoScrollTimeout=setTimeout((function(){t.autoScrollTimeout&&t.slideElements&&(t.autoScrollDirection===v.CarouselDirection.NEXT?t.slideNext():t.autoScrollDirection===v.CarouselDirection.PREV&&t.slidePrev(),t.startAutoScroll())}),e||this.props.autoScrollDelay))},t.prototype.stopAutoScroll=function(){clearTimeout(this.autoScrollTimeout),this.autoScrollTimeout=void 0},t.prototype.onTrackScroll=function(){if(!this.shouldIgnoreScroll){var e=this.getCurrentIndex();this.updateAutoScrollDirection(e),this.currentIndex!==e&&(this.logScroll(this.currentIndex,e,"AUTO"),this.currentIndex=e,this.props.onPageShown(e))}this.updateCurrent(),this.onScrollStop()},t.prototype.updateCurrent=function(){if(this.props.onScroll){var e=this.getTrackPosition();this.props.onScroll(e)}},t.prototype.slidePrev=function(){var e=this.getCurrentIndex();this.scrollTo(e-1)},t.prototype.slideNext=function(){var e=this.getCurrentIndex();this.scrollTo(e+1)},t.prototype.updateAutoScrollDirection=function(e){if(this.slideElements[e]){var t=0===e,n=e===this.slideElements.length-1;(t||e>this.currentIndex&&!n)&&(this.autoScrollDirection=v.CarouselDirection.NEXT),(n||e<this.currentIndex&&!t)&&(this.autoScrollDirection=v.CarouselDirection.PREV)}},t.prototype.scrollTo=function(e){var t=this,n=this.props,r=n.onPageShown,i=n.allowedPreciseScroll,a=this.slideElements[e];if(!this.slideAnimation&&a){var s=this.trackElement.getBoundingClientRect(),c=s.width,l=s.height,u=a.getBoundingClientRect(),d=u.width,p=u.height,f=i?[.5*(c-d),.5*(l-p)]:[0,0];this.updateAutoScrollDirection(e);var h=this.getUpdatedTrackPosition(a,f),v=this.getTrackPosition();if(!(Math.abs(v-h)<=1))return this.isSmoothScrollSupports?(this.setTrackPosition(h),void(this.currentIndex!==e&&(this.logScroll(this.currentIndex,e,"SMOOTH"),this.currentIndex=e,r(e)))):void(this.slideAnimation=(0,o.animate)({duration:200,start:v,end:h,onFrame:function(e){return t.setTrackPosition(e)},onEnd:function(){t.setTrackPosition(h),t.slideAnimation=null,t.currentIndex!==e&&(t.logScroll(t.currentIndex,e,"SLIDE"),t.currentIndex=e,r(e))}}))}},t.prototype.getUpdatedTrackPosition=function(e,t){return this.props.orientation===v.CarouselOrientation.VERTICAL?e.offsetTop-t[1]:e.offsetLeft-t[0]},t.prototype.getTrackPosition=function(){return this.props.orientation===v.CarouselOrientation.HORIZONTAL?this.trackElement.scrollLeft:this.props.orientation===v.CarouselOrientation.VERTICAL?this.trackElement.scrollTop:0},t.prototype.setTrackPosition=function(e){this.shouldIgnoreScroll=!0,this.props.orientation===v.CarouselOrientation.HORIZONTAL&&(this.trackElement.scrollLeft=e),this.props.orientation===v.CarouselOrientation.VERTICAL&&(this.trackElement.scrollTop=e)},t}(c.Destroyable);t.BaseCarouselController=_},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CollectionController=void 0;var r=n(542),i=n(1257),o=n(469),a=n(965),s=n(1452),c=n(196),l=n(15),u=n(5),d="https://yandex.ru/collections/api/v1.0",p=function(){function e(){var e=this;this.debouncedSetCollectionState=(0,r.debounce)((function(){e.isInCollection?e.prepareSendRequestAddToCollection():e.prepareSendRequestRemoveFromCollection()}),500)}return e.hasCollectionBtnNode=function(e){var t=e.querySelector("[data-collection]");return Boolean(t)},e.prototype.init=function(e){this.props=e,this.isInCollection=Boolean(e.adv.isInCollection),this.cardIdFavorite=e.adv.cardIdFavorite;var t=this.props.rootNode.querySelector("[data-collection]");this.collectionBtnNode=t,t.removeAttribute("data-collection"),this.isInCollection&&this.collectionBtnNode.setAttribute("data-active","")},e.prototype.checkOnClick=function(e){var t=this,n=e.target;return!!n&&(n===this.collectionBtnNode||(n instanceof HTMLAnchorElement?(e.stopPropagation(),!1):((0,i.findParent)(n,(function(e){return e===t.collectionBtnNode}),!1)===this.collectionBtnNode&&(e.preventDefault(),e.stopPropagation()),!1)))},e.prototype.handleClick=function(e){e.preventDefault(),e.stopPropagation(),this.isInCollection=!this.isInCollection,this.debouncedSetCollectionState(),this.isInCollection?this.collectionBtnNode.setAttribute("data-active",""):this.collectionBtnNode.removeAttribute("data-active")},e.prototype.prepareSendRequestAddToCollection=function(){var e=this;this.sendRequestGetToken().then((function(t){var n=t["csrf-token"],r=e.createCardData();return e.sendRequestAddToCollection(n,r)})).then((function(t){e.cardIdFavorite=t.id,e.sendRequestToAbuseUrl({abuseUrl:e.props.adv.abuseUrl,reasonId:28,actionId:4,cardId:t.id})}))["catch"](this.onError)},e.prototype.prepareSendRequestRemoveFromCollection=function(){var e=this;this.sendRequestGetToken().then((function(t){var n=t["csrf-token"];if(!e.cardIdFavorite)throw new Error("Invalid cardId for remove");return e.sendRequestRemoveFromCollection(n,e.cardIdFavorite)})).then((function(t){e.cardIdFavorite=void 0,e.sendRequestToAbuseUrl({abuseUrl:e.props.adv.abuseUrl,reasonId:30,actionId:4,cardId:t.id})}))["catch"](this.onError)},e.prototype.sendRequestGetToken=function(){var e=this;return(0,s.request)({method:"GET",url:d+"/csrf-token",headers:{"Content-Type":"application/json"},withCredentials:!0}).then((function(t){return e.getParsedRequest(t)}))},e.prototype.sendRequestAddToCollection=function(e,t){var n=this;return(0,s.request)({method:"POST",url:d+"/cards",headers:{"Content-Type":"application/json","x-csrftoken":e},data:(0,c.tryStringify)(t),withCredentials:!0}).then((function(e){return n.getParsedRequest(e)}))},e.prototype.sendRequestRemoveFromCollection=function(e,t){var n=this;return(0,s.request)({method:"DELETE",url:d+"/cards/"+t,headers:{"Content-Type":"application/json","x-csrftoken":e},withCredentials:!0}).then((function(e){return n.getParsedRequest(e)}))},e.prototype.sendRequestToAbuseUrl=function(e){var t=e.abuseUrl,n=e.reasonId,r=e.actionId,i=e.cardId;(0,o.sendConfirm)({src:(0,a.buildUrl)(t,{"reason-id":n.toString(),"action-id":r.toString(),"card-id":i.toString()},["reason-id","action-id","card-id"])})},e.prototype.createCardData=function(){var e=this.props.adv,t=Boolean(this.props.adv.images),n=new RegExp("([^/]+$)"),r=t?this.props.adv.images[0][0].replace(n,"orig"):"";return{description:e.body,content:[{source_type:"link",source:{url:e.targetUrl,image:r}}],meta:{type:"ads",data:{title:e.title}}}},e.prototype.getParsedRequest=function(e){try{var t=e.response||e.responseText;return(0,u.isString)(t)?n.lv["json"].parse(t):t}catch(e){throw new Error(e)}},e.prototype.onError=function(e){var t=e.message;l.logger.errorStrict("COLLECTION_ERROR",{text:t})},e}();t.CollectionController=p},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0,t.request=function(e){return new Promise((function(t,i){(0,n(56).request)(r(r({},e),{onSuccess:t,onError:i}))}))}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e){var t,n;return null===(n=null===(t=null==e?void 0:e._ads[0])||void 0===t?void 0:t.images)||void 0===n?void 0:n[0]}Object.defineProperty(t,"__esModule",{value:!0}),t.destroySSRClientCode=t.initSSRClientCode=void 0,t.initSSRClientCode=function(e,t,o,a,s,c){var l=c.salt,u=c.vast,d=c.vastBase64,p=c.hitLogId,f=c.url,h=c.urlParams,v=c.clickMacro,m=o.name,g=o.zenAdType,_=o.limit,y="horizontal_new"===g,b=Boolean((0,n(972).getElementByData)("name","carousel-container",t)),C={vast:u,vastBase64:d,hitLogId:p,url:f,urlParams:h,clickMacro:v};if("motion"===m){var O=i(I=s());(0,n(1454).initMotionClientCode)(e,{salt:l,disableAnimation:!O&&"static"===(0,n(0).useExperimentFlag)("MOTION_BG")});var E=(0,n(34).getBoundingClientRect)(e);E.width>=n(1455).BILLBOARD_MIN_WIDTH&&E.height<=n(1455).BILLBOARD_MAX_HEIGHT&&n(15).logger.traceLog({blockId:I._blockId},"CAN_REPLACE_MOTION_WITH_BILLBOARD",100)}"zen"===m&&(0,n(1456).initZenClientCode)(e,c),"zen2"!==m&&"zen2-gallery"!==m||(0,n(1458).initZen2ClientCode)(e,c,C,a,s,y),"billboard"===m&&(0,n(1477).initBillboardClientCode)(e,l),(0,n(1263).isPoster)(m)&&(b&&"exp"!==(0,n(0).useExperimentFlag)("CAROUSEL_ON_CONSTRUCTOR")?(0,n(1478).initPosterClientCode)(e,{salt:l,carousel:b},C,s):(0,n(1371).initConstructorClientCode)(e,C,l,s,{carousel:o.carousel&&_>1})),(0,n(1263).isAdaptive)(m)&&(0,n(1481).initAdaptiveClientCode)(e,t,l,C,s),(0,n(1263).isAdaptiveV3)(m)&&(0,n(1482).initAdaptiveV3ClientCode)(e,l,C,s),(0,n(1263).isSDFormat)(m)&&(0,n(1371).initConstructorClientCode)(e,C,l,s,{carousel:o.carousel&&_>1});var A=((0,n(630).getElementsByData)("name","bannerSurvey",t)||[])[0];if(A&&((0,n(1372).initBannerSurveyClientCode)(A),n(241).isIntersectionObserverSupported&&new IntersectionObserver(n(1372).intersectionObserverCallback,n(1372).INTERSECTION_OBSERVABLE_OPTIONS).observe(t)),(0,n(0).useExperimentFlag)("GLOBAL_SIZE_INFO")){var I,S=e.querySelector("[data-adaptive]"),T=null==S?void 0:S.dataset.adaptive,w=t.getBoundingClientRect(),R=w.width,P=w.height,k=n(109).isTouchDevice,M=(I=s()).getSettings(),L=M.width,N=M.height,D=M.blockId,B=e.getBoundingClientRect(),x=(O=i(I)||{},parseInt(O[1],10)/parseInt(O[2],10));n(15).logger.traceLog(r({imageRatio:x,imageUrl:O[0],isTouch:k,widthBlock:Math.round(B.width),heightBlock:Math.round(B.height),rootWidth:Math.round(R),rootHeight:Math.round(P),clientHeightBlock:Math.round(e.clientHeight),hasScailed:Math.abs(Math.round(B.height)-Math.round(e.clientHeight))>20,topPosition:B.top,isWholeFirstScreen:B.bottom<window.innerHeight,windowHeight:window.innerHeight,widthPI:L,heightPI:N,host:location.host,blockId:D,format:I._format,product:I._product,limit:I._settings.limit,adaptiveFormFactor:T},window.layoutConfig?window.layoutConfig.config:{noLayoutConfig:!0}),"GLOBAL_SIZE_INFO",10)}},t.destroySSRClientCode=function(e,t){"motion"===t&&(0,n(1454).destroyMotionClientCode)(e),"zen"===t&&(0,n(1456).destroyZenClientCode)(e),"zen2"!==t&&"zen2-gallery"!==t||(0,n(1458).destroyZen2ClientCode)(e),"billboard"===t&&(0,n(1477).destroyBillboardClientCode)(e),"posterVertical"!==t&&"posterHorizontal"!==t||(0,n(1478).destroyPosterClientCode)(e),"adaptive"===t&&(0,n(1481).destroyAdaptiveClientCode)(e),"vertical"===t&&(0,n(1482).destroyAdaptiveV3ClientCode)(e),(0,n(1263).isSDFormat)(t)&&(0,n(1371).destroyConstructorClientCode)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyMotionClientCode=t.initMotionClientCode=void 0;var r=n(531),i=n(90),o=n(627),a=n(4),s=n(538),c=n(1746),l=n(630),u=n(628),d=n(146),p=n(1747),f=[],h=[];t.initMotionClientCode=function(e,t){var n=o.MraidHelpers.isAvailable()?.45:.7,v=((0,l.getElementsByData)("name","motion",e)||[])[0],m=t.salt,g=t.disableAnimation;if(v){var _=v.getBoundingClientRect().width>700,y=null,b=new s.VisibilityConfirmer({element:v,portion:n,onVisibilityChange:function(e){g||(e&&!y&&(y=window.setTimeout((function(){y=null,v.classList.add(p("visible",m))}),_?400:700)),e||(0,d.isHermione)()||(y&&(clearTimeout(y),y=null),v.classList.remove(p("visible",m))))}});if(f.push([v,b]),(0,r.hasShadowDomSupport)()){var C=v.clientWidth,O=((0,l.getElementsByData)("name","motion-details",v)||[])[0],E=((0,l.getElementsByData)("name","motion-wide-image",v)||[])[0],A=((0,l.getElementsByData)("name","motion-narrow-svg",v)||[])[0],I=((0,l.getElementsByData)("name","motion-narrow-image",v)||[])[0],S=((0,l.getElementsByData)("name","motion-narrow-blur",v)||[])[0],T=function(e,t){return function(e,t,n,r,o,a,s,l,u){var d=n.classList.contains(p("visible",e)),f=function(){d||n.classList.remove(p("visible",e)),n.classList.remove(p("disableAnimation",e))};n.classList.add(p("disableAnimation",e)),d||n.classList.add(p("visible",e));(0,i.setStyle)(n,"width","100%");var h=n.getBoundingClientRect(),v=h.width,m=h.height;if(!v)return(0,i.setStyle)(n,"width",t),void f();if(!(a&&s&&l&&u))return void f();var g=v>700;g&&a.classList.add(p("wideImageContainer__visible",e));var _=(y=r,y.scrollWidth>y.offsetWidth||y.scrollHeight>y.offsetHeight);var y;if(g=g&&!_)n.classList.add(p("motion__isWide",e)),n.classList.remove(p("motion__isNarrow",e)),l.setAttribute("preserveAspectRatio","xMidYMid slice"),u.setAttribute("stdDeviation","40");else{a.classList.remove(p("wideImageContainer__visible",e)),n.classList.remove(p("motion__isWide",e)),n.classList.add(p("motion__isNarrow",e)),l.setAttribute("preserveAspectRatio",""),u.setAttribute("stdDeviation","10");var b=parseInt(s.getAttribute("data-width")||"",10),C=parseInt(s.getAttribute("data-height")||"",10);if(b&&C){var O=(0,c.getSvgSize)({width:b,height:C},{width:v,height:m});s.style.width="".concat(O.width,"px"),s.style.height="".concat(O.height,"px")}}f(),o()}(m,C,v,O,t,E,A,I,S)},w=new u.RafSizeSensor(e);w.addResizeHandler(T),h.push([v,w]),T(0,a.noop)}}},t.destroyMotionClientCode=function(e){var t=((0,l.getElementsByData)("name","motion",e)||[])[0];if(t){for(var n=0;n<f.length;n++){var r=f[n],i=r[0],o=r[1];if(i===t){o.stop(),f.splice(n,1);break}}for(n=0;n<h.length;n++){var a=h[n],s=(i=a[0],a[1]);if(i===t){s.destroy(),h.splice(n,1);break}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BILLBOARD_MIN_WIDTH=t.BILLBOARD_MAX_HEIGHT=t.SQUARE_FOR_LESS_FONT_SIZE=t.MAX_IMAGE_RATIO=t.MIN_IMAGE_RATIO=t.DEFAULT_BLOCK_HEIGHT=t.BLOCK_SIZE=void 0,t.BLOCK_SIZE={width:{min:240,max:1/0},height:{min:170,max:1/0}},t.DEFAULT_BLOCK_HEIGHT=350,t.MIN_IMAGE_RATIO=4/3,t.MAX_IMAGE_RATIO=16/9,t.SQUARE_FOR_LESS_FONT_SIZE=52800,t.BILLBOARD_MAX_HEIGHT=350,t.BILLBOARD_MIN_WIDTH=700},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyZenClientCode=t.initZenClientCode=void 0;var r=n(24),i=n(531),o=n(90),a=n(4),s=n(469),c=n(315),l=n(1146),u=n(630),d=n(628),p=n(1298),f=n(1751),h=n(1457),v=n(1752),m=n(1753),g=[];function _(e,t,n,r){if(e){var i=new c.Url({host:e,params:{"action-id":t,"reason-id":n,sign:r}});(0,s.sendConfirm)({src:i.getUrl()})}}t.initZenClientCode=function(e,t){var n=t.abuseUrl,s=t.salt,c=((0,u.getElementsByData)("name","zen",e)||[])[0];if(c){var y=((0,u.getElementsByData)("name","up",c)||[])[0],b=((0,u.getElementsByData)("name","down",c)||[])[0],C=((0,u.getElementsByData)("name","feedback",c)||[])[0],O=((0,u.getElementsByData)("name","feedbackButton",c)||[])[0],E=function(){return y.classList.contains(m("fingerActive",s))};if((0,r.on)(y,"click",(function(){E()?(y.classList.remove(m("fingerActive",s)),b.classList.remove(m("fingerInactive",s)),_(n,7,10,-1)):(y.classList.add(m("fingerActive",s)),b.classList.add(m("fingerInactive",s)),_(n,7,10,1))})),(0,r.on)(b,"click",(function(){E()||(C.classList.remove(m("feedbackHidden",s)),_(n,8,11,1))})),(0,r.on)(O,"click",(function(){C.classList.add(m("feedbackHidden",s)),_(n,8,11,-1)})),(0,p.initWarningClientCode)(e,s),!c.hasAttribute("data-is-fixed")&&(0,i.hasShadowDomSupport)()){var A=c.clientWidth,I=((0,u.getElementsByData)("name","zen-image",e)||[])[0],S=((0,u.getElementsByData)("name","zen-gradient",e)||[])[0],T=((0,u.getElementsByData)("name","zen-content",e)||[])[0],w=((0,u.getElementsByData)("name","zen-footer",e)||[])[0],R=((0,u.getElementsByData)("name","zen-warning",e)||[])[0],P=function(e,t){return function(e,t,n,r,i,a,s,c,u){(0,o.setStyle)(n,"width","100%");var d=n.getBoundingClientRect(),p=d.width,g=d.height;if(!p)return void(0,o.setStyle)(n,"width",t);var _=(0,v.getDetailsSize)({width:p,height:g}),y=(0,v.getFontSize)(_),b=(0,h.getRatioType)(p,g),C=i.style.backgroundImage.match(/rgba\((\d*),\s*(\d*),\s*(\d*)/)||[],O=C[1],E=C[2],A=C[3];switch(n.style.fontSize="".concat(y,"px"),b){case h.ZenRatio.SQUARE:n.classList.add(m("square",e)),n.classList.remove(m("vertical",e)),n.classList.remove(m("horizontal",e)),r.style.height="60%",O&&E&&A&&(i.style.backgroundImage=(0,f.getSquareGradient)(O,E,A)),u&&u.classList.remove(m("warning_background",e));break;case h.ZenRatio.VERTICAL:n.classList.add(m("vertical",e)),n.classList.remove(m("square",e)),n.classList.remove(m("horizontal",e)),r.style.height="60%",O&&E&&A&&(i.style.backgroundImage=(0,f.getVerticalGradient)(O,E,A)),u&&u.classList.remove(m("warning_background",e));break;case h.ZenRatio.HORIZONTAL:n.classList.add(m("horizontal",e)),n.classList.remove(m("square",e)),n.classList.remove(m("vertical",e)),r.style.height="100%",O&&E&&A&&(i.style.backgroundImage=(0,f.getHorizontalGradient)(O,E,A)),u&&u.classList.add(m("warning_background",e))}(0,l.adaptImageToContainer)(n),u&&(b===h.ZenRatio.HORIZONTAL&&u.parentElement!==a&&a.appendChild(u),b!==h.ZenRatio.HORIZONTAL&&u.parentElement!==s&&s.insertBefore(u,s.children[0]));c()}(s,A,c,I,S,T,w,t,R)},k=new d.RafSizeSensor(e);k.addResizeHandler(P),g.push([c,k]),P(0,a.noop)}}},t.destroyZenClientCode=function(e){var t=((0,u.getElementsByData)("name","zen",e)||[])[0];if(t)for(var n=0;n<g.length;n++){var r=g[n],i=r[0],o=r[1];if(i===t){o.destroy(),g.splice(n,1);break}}}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getRatioType=t.ZenRatio=void 0,function(e){e["HORIZONTAL"]="horizontal",e["SQUARE"]="square",e["VERTICAL"]="vertical"}(r=t.ZenRatio||(t.ZenRatio={})),t.getRatioType=function(e,t){var n=e/t;return n<4/3?n<1?r.VERTICAL:r.SQUARE:r.HORIZONTAL}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.destroyZen2ClientCode=t.initZen2ClientCode=t.Zen2ResizerClientCode=void 0;var s=n(629),c=n(240),l=n(531),u=n(90),d=n(34),p=n(493),f=n(643),h=n(538),v=n(972),m=n(630),g=n(1129),_=n(1215),y=n(628),b=n(1157),C=n(1754),O=n(1299),E=n(1203),A=n(1300),I=n(1259),S=n(1260),T=n(1303),w=n(1365),R=n(1366),P=n(1249),k=n(1770),M=n(1465),L=n(1771),N=n(1467),D=n(1469),B=n(1773),x=n(1367),j=n(1775),F=n(1776),U=n(1777),V=n(1301),z=n(1261),H=n(146),G=n(986),W=n(1369),K=n(0),Y=n(971),Z=n(965),q=n(961),X=n(1783),$=n(1784),Q=n(1785),J=n(1304),ee=n(1257),te=n(1476),ne=n(1786),re=n(1787),ie=n(1468),oe=n(1466),ae=n(1370),se={};function ce(e,t){void 0===t&&(t="zen2");var n=j.zen2Elements.feedbackReasons,r=a(j.zen2Elements,["feedbackReasons"]),i=(0,g.getElementsByDataFromMap)(r,e);return o(o({},i),{adContainer:(0,v.getElementByData)("name",t,e),feedbackReasons:(0,m.getElementsByData)("name",n,e)||[],adtuneFeedbackContainer:(0,v.getElementByData)("name","zen2-adtune-feedback-container",e),adtuneThankYouContainer:(0,v.getElementByData)("name","zen2-adtune-thank-you-container",e)})}var le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var t,n=this;e.prototype.init.call(this);var r=this.props,i=r.salt,o=r.getAlias,a=r.container,s=r.containerName,c=r.withoutLogo,l=r.withoutFeedback,u=r.withoutPriceInfo;if(this.elements=ce(a,s),this.initContainer(),c||this.initLogo(),this.initWarning(),this.initReactions(),l||(this.initGalleryFeedbackButton(),this.initFeedback()),this.initAdClickHandler(),u||this.initPriceInfo(),this.isEnabledFixNtpBrokenGrid()){null===(t=this.elements.horizontalLayoutContainer)||void 0===t||t.classList.add(o("fixNtpGridOverflow",i));var d=new y.RafSizeSensor(a),p=(0,f.throttle)((function(){return n.fixBrokenGrid()}),1e3);d.addResizeHandler((function(e,t){p(),t()})),this.doOnDestroy((function(){d.destroy()})),this.fixBrokenGrid()}},t.prototype.initContainer=function(){var e=this.elements.adContainer;e&&(0,l.hasShadowDomSupport)()&&(0,u.setStyle)(e,"width","100%")},t.prototype.initLogo=function(){var e=this.props,t=e.container,n=e.salt;this.addResource("favicon-controller",new E.FaviconController({container:t,salt:n}))},t.prototype.initWarning=function(){var e=this,t=this.elements.warningContainer,n=this.props,r=n.salt,i=n.getAlias;t&&this.addEventListener(t,"click",(function(){t.classList.contains(i("warning_expanded",r))||(t.classList.add(i("warning_expanded",r)),e.isEnabledFixNtpBrokenGrid()&&e.fixBrokenGrid())}))},t.prototype.initReactions=function(){var e=this,t=this.props,n=t.abuseUrl,r=t.salt,i=t.container,o=t.isZenAdtuneExp;this.addResource("reactions",new T.ReactionsController({container:i,salt:r,abuseUrl:n,onDisliked:function(){e.toggleFeedbackView(),e.toggleFeedbackPopupButton(),o&&e.visibleAdtuneThankYouContainer()}}))},t.prototype.initFeedback=function(){var e=this,t=this.props,n=t.abuseUrl,r=t.salt,i=t.getAlias,o=t.isHorizontalNew,a=t.isZenAdtuneExp,s=this.elements,c=s.headerContainer,l=s.feedbackContainer,u=s.cancelFeedbackButton,d=s.feedbackCompletedContainer,p=s.feedbackReasons,f=s.feedbackReasonsContainer,h=s.adtuneFeedbackContainer,v=s.adtuneThankYouContainer;if(a&&h&&v&&!o)return null==h||h.style.setProperty("top","".concat((null==c?void 0:c.offsetHeight)||0,"px")),void(null==v||v.style.setProperty("top","".concat((null==c?void 0:c.offsetHeight)||0,"px")));if(u&&d&&f){null==l||l.style.setProperty("top","".concat((null==c?void 0:c.offsetHeight)||0,"px")),this.addEventListener(u,"click",(function(){e.toggleFeedbackView(),e.toggleFeedbackPopupButton(),(0,V.sendUndislike)(n)}));for(var m=0;m<p.length;m++)this.addEventListener(p[m],"click",(function(t){if(t.target&&t.target instanceof HTMLElement){var o=t.target.dataset.optionId;if((0,V.sendFeedback)(n,o),o===G.ADTUNE_ADVERTISER_INFO_REASON_ID)return}e.hideFeedbackPopupButton(),f.classList.add(i("feedbackReasons_hidden",r)),d.classList.add(i("feedbackCompleted_visible",r)),e.isFeedbackView()||e.toggleFeedbackView()}))}},t.prototype.initGalleryFeedbackButton=function(){var e=this,t=this.elements.galleryFeedbackButton;t&&this.addEventListener(t,"click",(function(){e.toggleFeedbackView()}))},t.prototype.initAdClickHandler=function(){var e=this.elements.adContainer;e&&this.addEventListener(e,"click",(function(e){e.target&&("A"!==e.target.tagName||e.target.hasAttribute("data-active"))&&e.stopPropagation()}))},t.prototype.initPriceInfo=function(){var e=this.props,t=e.salt,n=e.container;this.addResource("priceInfoController",new z.PriceInfoController({container:n,salt:t}))},t.prototype.toggleFeedbackView=function(){var e=this.elements.adContainer,t=this.props,n=t.salt,r=t.getAlias;e&&e.classList.toggle(r("withFeedback",n))},t.prototype.isFeedbackView=function(){var e=this.elements.adContainer,t=this.props,n=t.salt,r=t.getAlias;return!!e&&e.classList.contains(r("withFeedback",n))},t.prototype.toggleFeedbackPopupButton=function(){var e=this.elements.feedbackPopupButton,t=this.props,n=t.salt,r=t.getAlias;e&&e.classList.toggle(r("feedbackPopupButton_hidden",n))},t.prototype.hideFeedbackPopupButton=function(){var e=this.elements.feedbackPopupButton,t=this.props,n=t.salt,r=t.getAlias;e&&e.classList.add(r("feedbackPopupButton_hidden",n))},t.prototype.visibleAdtuneThankYouContainer=function(){var e=this.elements,t=e.adtuneThankYouContainer,n=e.adtuneFeedbackContainer,r=this.props,i=r.salt,a=r.abuseUrl,s=r.language,c=void 0===s?"1":s;if(t){t.classList.add(ae("adtuneFeedback_visible",i)),(null==n?void 0:n.classList.contains(ae("adtuneFeedback_visible",i)))&&n.classList.remove(ae("adtuneFeedback_visible",i));var l=o({},Y.initialState.content[21]);(0,Z.chooseNewAdtuneOption)(l.reasonId,l.actionId,(0,q.getText)(l.textKey,"popup-small",c),a)}},t.prototype.isEnabledFixNtpBrokenGrid=function(){var e,t=this.elements.adContainer,n=(null===(e=this.elements.adContainer)||void 0===e?void 0:e.dataset)||{},r=n.name,i=n.fixNtpExp,o=null!==t&&t.offsetWidth<420;return"zen2"===r&&void 0!==i&&o},t.prototype.fixBrokenGrid=function(){var e=this.props,t=e.getAlias,n=e.salt,r=this.elements,i=r.siteLinksContainer,o=r.buttonContainer,a=r.bodyContainer,s=r.warningImportantContainer,c=r.adContainer,l=r.imageWrapper,u=this.getContentContainer();if(o&&this.hideElement(o),i&&this.isNeedDegradation()&&this.hideElement(i),s&&c&&this.isNeedDegradation()&&c.classList.add(t("warningOnImage",n)),a&&this.isNeedDegradation()&&this.hideElement(a),l&&u){var d=this.getChildrenHeight(u)-l.offsetHeight;this.setImageHeight(u.offsetHeight-d)}},t.prototype.isNeedDegradation=function(){var e=this.getContentContainer();return null!==e&&this.getChildrenHeight(e)>e.offsetHeight},t.prototype.getContentContainer=function(){var e=this.elements,t=e.verticalLayoutContainer,n=e.horizontalLayoutContainer;return t||n},t.prototype.setImageHeight=function(e){var t,n=this.elements,r=n.imageLayout,i=n.imageContainer,o=n.imageWrapper,a=n.imageWrapperShadow,s=n.warningImportantContainer,c=n.warningImportant;if(r){var l=r.dataset.imageRatio,u=Number(l);if((0,p.isPositiveFiniteNumber)(u)){var d=Math.min(u*e,r.offsetWidth);if(d<r.offsetWidth){var f=(r.offsetWidth-d)/2;r.style.setProperty("margin-left","".concat(f,"px")),r.style.setProperty("margin-right","".concat(f,"px")),r.style.setProperty("border-radius","inherit"),r.style.setProperty("overflow","inherit"),null==i||i.style.setProperty("height","".concat(e,"px"))}}else if(o){var h=this.getContentContainer(),v=o.offsetWidth/o.offsetHeight,m=Math.min(v*e,null!==(t=null==h?void 0:h.offsetWidth)&&void 0!==t?t:r.offsetWidth),g=m/v;null==i||i.style.setProperty("width","".concat(m,"px")),null==i||i.style.setProperty("height","".concat(g,"px")),null==i||i.style.setProperty("margin-left","auto"),null==i||i.style.setProperty("margin-right","auto"),o.style.setProperty("width","".concat(m,"px")),o.style.setProperty("border-radius","none"),c&&s&&c.style.setProperty("width","".concat(m,"px")),a&&(a.style.setProperty("width","".concat(m,"px")),a.style.setProperty("border-radius","none"))}}},t.prototype.getChildrenHeight=function(e){for(var t=0,n=0;n<e.children.length;++n){var r=e.children[n],i=(0,c.getStyle)(r),o=parseFloat(i.marginTop)+parseFloat(i.marginBottom);t+=r.offsetHeight+o}return t},t.prototype.getContainer=function(){return(0,v.getElementByData)("name","zen2",this.props.container)},t.prototype.getAlias=function(e){return this.props.getAlias(e,this.props.salt)},t.prototype.hideElement=function(e){var t=this.props,n=t.getAlias,r=t.salt;e.classList.add(n("hide",r))},t}(b.AbstractZen2BannerController),ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this.props,t=e.container,n=e.containerName;this.elements=ce(t,n),this.handleHorizontalLinksOverflow()},t.prototype.handleHorizontalLinksOverflow=function(){var e=this;this.elements.horizontalLayoutContainer&&(this.sizeSensor||(this.sizeSensor=new y.RafSizeSensor(this.props.container)),this.sizeSensor.addResizeHandler((function(t,n){e.updateHorizontalContainerOverflowState(),n()})),this.updateHorizontalContainerOverflowState())},t.prototype.updateHorizontalContainerOverflowState=function(){var e=(0,this.props.getAlias)("overflow",this.props.salt),t=this.elements.adContainer;this.checkRightColumnHasOverflow()?null==t||t.classList.add(e):(null==t?void 0:t.classList.contains(e))&&this.tryToResetOverflowState(t,e)},t.prototype.checkRightColumnHasOverflow=function(){var e=this.elements.horizontalRightColumn;return!!e&&(0,_.hasScrollInElement)(e)},t.prototype.tryToResetOverflowState=function(e,t){this.checkRightColumnHasOverflow()||(e.classList.remove(t),this.checkRightColumnHasOverflow()&&e.classList.add(t))},t.prototype.destroy=function(){var t;null===(t=this.sizeSensor)||void 0===t||t.destroy(),e.prototype.destroy.call(this)},t}(s.Destroyable);t.Zen2ResizerClientCode=ue,t.initZen2ClientCode=function(e,t,n,r,i,o){var a,s=t.abuseUrl,c=t.salt,l=(0,v.getElementByData)("name","zen2",e),u=(0,v.getElementByData)("name",N.articleRightElements.container,e),p=(0,v.getElementByData)("name",M.articleBodyElements.container,e),f=(0,v.getElementByData)("name",x.elements.adContainer,e),h=(0,v.getElementByData)("name",D.zen2ArticleTopBannerElements.container,e),m=(0,v.getElementByData)("name",O.carouselItemElements.container,e),g=(0,ee.findParent)(e,(function(e){return Boolean((0,v.getElementByData)("name",j.zen2Elements.feedbackPopupButton,e))}),!0),_=(0,v.getElementByData)("name",j.zen2Elements.feedbackPopupButton,g||e),y=_&&(0,Q.parseZen2ThemeClient)(_).platform===J.Zen2ThemePlatform.DESKTOP,b=n.vastBase64||n.vast,E=o&&!b?ne:re,T=i(),V=T.getLanguage(),z=Boolean(y)&&"exp"===(0,K.useExperimentFlag)("ZEN_ADTUNE");if(l){a=fe=l.id;var H=o?"zen2-horizontal-header":j.zen2Elements.headerContainer,G=(0,v.getElementByData)("name",H,e),Y=(0,d.getBoundingClientRect)(e),Z=_?(0,d.getBoundingClientRect)(_).bottom:0,q=G?null==G?void 0:G.offsetHeight:0,ce=Z-Y.top+te.POPUP_TOP_OFFSET_FROM_KEBAB-q,pe={top:"".concat(ce,"px !important"),right:"10px !important"};se[fe]=se[fe]||[],se[fe].push(new P.WarningSizeController({container:l,salt:c}),new le({abuseUrl:s,container:e,salt:c,getAlias:E,language:V,isHorizontalNew:o,isZenAdtuneExp:z}),new ue({container:e,salt:c,getAlias:E}),new w.Zen2SharePopupClientCode({container:e,salt:c}),z?new W.Zen2AdtuneClientCode({abuseUrl:s,container:e,salt:c,getAlias:ae,getParentAlias:E,adv:r,dataSource:T,indent:pe}):new I.Zen2FeedbackPopupClientCode({abuseUrl:s,container:e,salt:c}),new de({container:e,getDataSource:i}),new R.SubscribeButtonController({container:e,salt:c}))}else if(u){a=fe=u.id,se[fe]=se[fe]||[],se[fe].push(new le({abuseUrl:s,container:e,salt:c,getAlias:ie,containerName:N.articleRightElements.container,withoutLogo:!0,withoutFeedback:!0,withoutPriceInfo:!0}),new ue({container:e,salt:c,containerName:N.articleRightElements.container,getAlias:ie}),new P.WarningSizeController({container:u,salt:c}),new I.Zen2FeedbackPopupClientCode({abuseUrl:s,container:e,salt:c}),new S.Zen2LegalInfoPopupClientCode({abuseUrl:s,container:e,salt:c}),new L.Zen2ArticleRightClientCode({abuseUrl:s,container:e,salt:c}),new A.Zen2FeedbackClientCode({container:e,adContainer:u,salt:c,abuseUrl:s,getParentAlias:ie}))}else if(p){a=fe=p.id,se[fe]=se[fe]||[],se[fe].push(new le({abuseUrl:s,container:e,salt:c,getAlias:oe,containerName:M.articleBodyElements.container,withoutLogo:!0,withoutFeedback:!0,withoutPriceInfo:!0}),new P.WarningSizeController({container:p,salt:c}),new k.Zen2ArticleBodyClientCode({container:e,salt:c}),new I.Zen2FeedbackPopupClientCode({abuseUrl:s,container:e,salt:c}),new S.Zen2LegalInfoPopupClientCode({abuseUrl:s,container:e,salt:c}),new A.Zen2FeedbackClientCode({container:e,adContainer:p,salt:c,abuseUrl:s,getParentAlias:ie}))}else if(m){var fe=m.id;se[fe]=se[fe]||[],se[fe].push(z&&T.getSettings().zen2Carousel?new $.CarouselItemControllerExp({container:e,adContainer:m,salt:c,abuseUrl:s,adv:r,dataSource:T}):new C.CarouselItemController({container:e,adContainer:m,salt:c,abuseUrl:s}))}else if(f){fe=f.id;se[fe]=se[fe]||[],se[fe].push(z?new X.Zen2DesktopControllerExp({container:e,salt:c,abuseUrl:s,adv:r,dataSource:T,language:V}):new F.Zen2DesktopController({container:e,salt:c,abuseUrl:s}))}else if(h){a=fe=h.id,se[fe]=se[fe]||[],se[fe].push(new B.Zen2ArticleTopBannerController({container:e,salt:c,abuseUrl:s}))}if(b&&a){var he=new U.VideoClientCode({container:e,videoParams:n,dataSource:i(),playbackParameters:{}});se[a].push(he)}},t.destroyZen2ClientCode=function(e){var t=(0,v.getElementByData)("name","zen2",e);if(t){for(var n=t.id,r=0,i=se[n];r<i.length;r++){i[r].destroy()}delete se[n]}};var de=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isFired=!1,t}return i(t,e),t.prototype.init=function(){var e=this,t=this.props.container;if(this.touchMoreButton=ce(t).touchMoreButton,this.touchMoreButtonContainer=ce(t).touchMoreButtonContainer,this.touchMoreButtonContainer&&this.touchMoreButton){var n=this.touchMoreButtonContainer.dataset["expBgInactiveColor"];n&&this.setTouchButtonColor(n),this.initChecker()}this.doOnDestroy((function(){return e.timeoutId&&clearTimeout(e.timeoutId)}))},t.prototype.initChecker=function(){var e,t,n=this,r=this.props.container,i=Number(null!==(t=null===(e=this.touchMoreButtonContainer)||void 0===e?void 0:e.dataset["expDelay"])&&void 0!==t?t:1e3),o=null;this.visibilityChecker=new h.VisibilityConfirmer({element:r,portion:.5,onVisibilityChange:function(e){if(!n.isFired&&e){var t=(0,d.getBoundingClientRect)(r).top;t===o&&n.timeoutId||(o=t,clearTimeout(n.timeoutId),n.timeoutId=window.setTimeout((function(){return n.colorizeButtonAndStopTrackIt()}),i))}e||(0,H.isHermione)()||!n.timeoutId||(clearTimeout(n.timeoutId),n.timeoutId=void 0)}}),this.doOnDestroy((function(){var e;return null===(e=n.visibilityChecker)||void 0===e?void 0:e.stop()}))},t.prototype.colorizeButtonAndStopTrackIt=function(){var e,t,n,r=null!==(t=null===(e=this.touchMoreButtonContainer)||void 0===e?void 0:e.dataset["expBgColor"])&&void 0!==t?t:"#fc0";this.setTouchButtonColor(r),null===(n=this.visibilityChecker)||void 0===n||n.stop(),this.isFired=!0},t.prototype.setTouchButtonColor=function(e){var t;null===(t=this.touchMoreButton)||void 0===t||t.style.setProperty("background-color",e)},t}(s.Destroyable)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZEN_FEEDBACK_POPUP_DATA_NAME=void 0,t.ZEN_FEEDBACK_POPUP_DATA_NAME="zen2-feedback-popup"},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.RmpButtonController=void 0;var o=n(629),a=n(240),s=n(34),c=n(643),l=n(1129),u=n(628),d=n(1760),p=n(1761),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e,t,n=this.props.container;if(this.elements=(0,l.getElementsByDataFromMap)(d.rmpButtonElements,n),this.smallText=null===(e=this.elements.container)||void 0===e?void 0:e.dataset.smallText,void 0!==(null===(t=this.elements.container)||void 0===t?void 0:t.dataset.canDegradation)){var r=new u.RafSizeSensor(n);this.doOnDestroy((function(){return r.destroy()}));var i=(0,c.throttle)(this.checkSizes,1e3,this);this.checkSizes(),r.addResizeHandler((function(e,t){i(),t()}))}},t.prototype.isNeedDegradation=function(){var e=this.elements,t=e.text,n=e.icon,r=e.content,i=null==t?void 0:t.getClientRects();return void 0!==i&&i.length>1||this.getWidth(r)<this.getWidth(n)+this.getWidth(t)},t.prototype.checkSizes=function(){var e=this.elements,t=e.text,n=e.icon;this.smallText&&t&&this.isNeedDegradation()&&(t.innerText=this.smallText),n&&this.isNeedDegradation()&&this.hide(n)},t.prototype.getWidth=function(e){if(!e)return 0;var t=(0,a.getStyle)(e);return parseFloat(t.marginLeft)+parseFloat(t.marginRight)+(0,s.getBoundingClientRect)(e).width},t.prototype.hide=function(e){var t=this.props.salt;e.classList.add(p("hide",t))},t}(o.Destroyable);t.RmpButtonController=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.importantWarningElements=void 0,t.importantWarningElements={warningImportant:"importantWarningElement"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.faviconElements=void 0,t.faviconElements={container:"zen2-favicon-container",icon:"zen2-favicon-icon",defaultIcon:"zen2-favicon-default-icon"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZEN_DISLIKE_BUTTON_DATA_NAME=void 0,t.ZEN_DISLIKE_BUTTON_DATA_NAME="zen2-dislike-button"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZEN_LIKE_BUTTON_DATA_NAME=void 0,t.ZEN_LIKE_BUTTON_DATA_NAME="zen2-like-button"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArticleBodyLayout=t.articleBodyElements=void 0,t.articleBodyElements={container:"zen2-article-body",layout:"zen2-article-body-content-layout",contentContainer:"zen2-article-body-content-container",header:"zen2-article-body-header",title:"zen2-article-body-title",body:"zen2-article-body-body",siteLinks:"zen2-article-body-site-links",siteLink:"zen2-article-body-site-link",legalInfo:"zen2-article-body-legal-info",button:"zen2-article-body-button",importantWarning:"zen2-article-body-important-warning"},function(e){e["oneColumn"]="one_column_layout",e["twoColumn"]="two_column_layout",e["touch"]="touch_layout"}(t.ArticleBodyLayout||(t.ArticleBodyLayout={}))},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("e9469cc6b",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.articleRightElements=void 0,t.articleRightElements={container:"zen2-article-right",content:"zen2-article-right-content",header:"zen2-article-right-header",headerInfo:"zen2-article-right-header-info",domain:"zen2-article-right-domain",adText:"zen2-article-right-ad-text",title:"zen2-article-right-title",body:"zen2-article-right-body",siteLinks:"zen2-article-right-site-links",siteLinkItem:"zen2-article-right-site-link-item",legalInfo:"zen2-article-right-legal-info",button:"zen2-article-right-button",importantWarning:"zen2-article-right-important-warning"}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("hf5b9f56b",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zen2ArticleTopBannerElements=void 0;var r=n(1461);t.zen2ArticleTopBannerElements={container:"zen2-article-top-banner",price:"zen2-article-top-banner-price",siteLinks:"zen2-article-top-banner-siteLinks",button:"zen2-article-top-banner-button",ticker:"zen2-article-top-banner-ticker",contentWrapper:"zen2-article-top-banner-content-wrapper",content:"zen2-article-top-banner-content",adText:"zen2-article-top-banner-ad-text",title:"zen2-article-top-banner-title",snippet:"zen2-article-top-banner-snippet",importantWarning:r.importantWarningElements.warningImportant}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("g5e5132b",e),t)}},function(e,t,n){"use strict";n.r(t),n.d(t,"combineValueSignalsIntoNewOne",(function(){return a}));var r=n(1262),i=n(519),o=n(540);function a(e,t,n){var a,s=new i["Signal"],c=Object(r["combineValueSignals"])(e,t,(function(e){a=e,s.dispatch(e)})),l=new o["ValueSignal"](a,n),u=s.add(l);return{valueSignal:l,teardown:function(){u(),c()}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logVideoSizes=void 0;var r=n(15),i=n(35);t.logVideoSizes=function(e,t){if((0,i.isPercent)(5)){var n=e.clientWidth,o=e.clientHeight;r.logger.logVasEvent({width:n,height:o,ratio:n/o,format:t},"VIDEO TGO CONTAINER SIZE",100)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZEN_VIDEO_IN_COMBO_VIDEO_SLOT_ELEMENT_DATA_NAME=void 0,t.ZEN_VIDEO_IN_COMBO_VIDEO_SLOT_ELEMENT_DATA_NAME="video-slot"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rehydrateZenVideoTimer=void 0;var r=n(116),i=n(1262),o=n(1216),a=n(472);t.rehydrateZenVideoTimer=function(e){var t=e.container,n=e.adLoaderPlayer,s=e.destroyLatch,c=(0,o.getRehydratedElement)(t,"video-timer"),l=n.adMediaRemainingTime,u=n.adLoaderPlayerStatus,d=n.isAdPodStarted,p=function(e){var t=e.toFixed(0);c.innerHTML=(0,r.padLeft)(t,4,"0:0")};s.subscribe(l.add(p)),p(l.getValue()),s.subscribe((0,i.combineValueSignals)([d,u],(function(e,t){return!!e&&"completed"!==t}),(function(e){(0,a.setStyle)(c,{display:e?"block":"none"})})))}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.useAds=t.updateSsrName=t.useLanguage=t.useSettings=t.useCommon=t.AdvProvider=t.useAdvConfig=void 0;var i=n(1780),o=n(667),a=n(1782);t.useAdvConfig=(r=(0,o.createCtx)())[0],t.AdvProvider=r[1];t.useCommon=function(){var e=(0,t.useAdvConfig)();return(0,i.getCommon)(e)};t.useSettings=function(){var e=(0,t.useAdvConfig)();return(0,i.getSettings)(e)};t.useLanguage=function(){var e=(0,t.useAdvConfig)();return e.common&&e.common.pageLang||"1"};t.updateSsrName=function(e){var n;(0,t.useSettings)().ssrName=e,null===(n=a.EventLogger.getInstance())||void 0===n||n.addParams({ssrName:e})};t.useAds=function(){var e,n=(0,t.useAdvConfig)(),r=(0,t.useSettings)(),o=(0,i.getLimit)(r);return((null===(e=n.direct)||void 0===e?void 0:e.ads)||[]).slice(0,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.POPUP_TOP_OFFSET_FROM_KEBAB=t.BIG_CARDS_COL_SIZE=t.VISIBLE_COLS_COUNT=t.MEDIUM_CARDS_COL_SIZE=t.SMALL_CARD_IMAGE_PERCENT=t.LAST_STRETCHED_COL=t.NOT_FIRST_COL_CARDS_MAX_COUNT=t.FIRST_COL_CARDS_MAX_COUNT=t.FONT_FAMILY=t.POSSIBLE_IMAGE_RATIOS_TOUCH=t.MAX_DESKTOP_HORIZONTAL_IMAGE_HEIGHT_REDESIGN=t.MAX_DESKTOP_HORIZONTAL_IMAGE_WIDTH_REDESIGN=t.MAX_DESKTOP_HORIZONTAL_IMAGE_WIDTH=t.MAX_DESKTOP_HORIZONTAL_IMAGE_HEIGHT=t.MAX_DESKTOP_HORIZONTAL_IMAGE_RATIO=t.IMAGE_WIDTH_DESKTOP_HORIZONTAL_PERCENT=t.MAX_VIDEO_RATIO_DESKTOP=t.MAX_VIDEO_RATIO_TOUCH=t.MAX_VIDEO_RATIO_NEW_HORIZONTAL=t.MAX_IMAGE_HEIGHT_DESKTOP=t.MIN_CONTENT_HEIGHT=t.getConstants=void 0;var r=n(1304);t.getConstants=function(e,t){var n=void 0===t?{}:t,i=n.isHorizontalLayout,o=n.isRmp,a=n.isRmpExp;return e.platform===r.Zen2ThemePlatform.DESKTOP?{TITLE_FONT_SIZE:18,TITLE_LINE_HEIGHT:1.23,BODY_FONT_SIZE:15,BODY_LINE_HEIGHT:1.4,BUTTON_FONT_SIZE:15,SITELINK_FONT_SIZE:13,SITELINK_LINE_HEIGHT:1.25,WARNING_NORMAL_FONT_SIZE:15,WARNING_NORMAL_LINE_HEIGHT:1.4,LOGO_SIZE:36,HEADER_HEIGHT:60,DEFAULT_IMAGE_HEIGHT:212,APP_RATING_HEIGHT:0,BUTTON_HEIGHT:42,GALLERY_FOOTER_HEIGHT:0,FOOTER_HEIGHT:52,DEFAULT_VIDEO_RATIO:16/9,BANNER_PADDING:4,CONTENT_PADDING:16,IMAGE_MARGIN:14,TITLE_MARGIN:8,BODY_MARGIN:i?12:14,BUTTON_BODY_MARGIN:32,APP_RATING_MARGIN:4,BUTTON_RMP_MARGIN:0,SITELINK_MARGIN_RIGHT:24,SITELINK_MARGIN_TOP:8,SITELINKS_MARGIN_BOTTOM:20,GALLERY_FOOTER_MARGIN:0,WARNING_PADDING:12,WARNING_NORMAL_MARGIN:i?10:8}:e.type===r.Zen2ThemeType.GALLERY?{TITLE_FONT_SIZE:18,TITLE_LINE_HEIGHT:1.25,BODY_FONT_SIZE:14,BODY_LINE_HEIGHT:1.3,BUTTON_FONT_SIZE:15,SITELINK_FONT_SIZE:0,SITELINK_LINE_HEIGHT:0,WARNING_NORMAL_FONT_SIZE:14,WARNING_NORMAL_LINE_HEIGHT:1.3,LOGO_SIZE:a&&o?56:36,HEADER_HEIGHT:0,DEFAULT_IMAGE_HEIGHT:140,APP_RATING_HEIGHT:18,BUTTON_HEIGHT:42,GALLERY_FOOTER_HEIGHT:18,FOOTER_HEIGHT:0,DEFAULT_VIDEO_RATIO:16/9,BANNER_PADDING:0,CONTENT_PADDING:16,IMAGE_MARGIN:12,TITLE_MARGIN:6,BODY_MARGIN:8,BUTTON_BODY_MARGIN:32,APP_RATING_MARGIN:4,BUTTON_RMP_MARGIN:11,SITELINK_MARGIN_RIGHT:0,SITELINK_MARGIN_TOP:0,SITELINKS_MARGIN_BOTTOM:0,GALLERY_FOOTER_MARGIN:o?14:10,WARNING_PADDING:12,WARNING_NORMAL_MARGIN:0}:{TITLE_FONT_SIZE:18,TITLE_LINE_HEIGHT:1.22,BODY_FONT_SIZE:14,BODY_LINE_HEIGHT:1.3,BUTTON_FONT_SIZE:15,SITELINK_FONT_SIZE:0,SITELINK_LINE_HEIGHT:0,WARNING_NORMAL_FONT_SIZE:14,WARNING_NORMAL_LINE_HEIGHT:1.3,LOGO_SIZE:a&&o?56:36,HEADER_HEIGHT:60,DEFAULT_IMAGE_HEIGHT:140,APP_RATING_HEIGHT:18,BUTTON_HEIGHT:42,GALLERY_FOOTER_HEIGHT:0,FOOTER_HEIGHT:48,DEFAULT_VIDEO_RATIO:16/9,BANNER_PADDING:4,CONTENT_PADDING:16,IMAGE_MARGIN:12,TITLE_MARGIN:6,BODY_MARGIN:o?13:10,BUTTON_BODY_MARGIN:32,APP_RATING_MARGIN:4,BUTTON_RMP_MARGIN:11,SITELINK_MARGIN_RIGHT:0,SITELINK_MARGIN_TOP:0,SITELINKS_MARGIN_BOTTOM:0,GALLERY_FOOTER_MARGIN:0,WARNING_PADDING:12,WARNING_NORMAL_MARGIN:0}},t.MIN_CONTENT_HEIGHT=280,t.MAX_IMAGE_HEIGHT_DESKTOP=400,t.MAX_VIDEO_RATIO_NEW_HORIZONTAL=4/3,t.MAX_VIDEO_RATIO_TOUCH=.8,t.MAX_VIDEO_RATIO_DESKTOP=16/9,t.IMAGE_WIDTH_DESKTOP_HORIZONTAL_PERCENT=.48,t.MAX_DESKTOP_HORIZONTAL_IMAGE_RATIO=.75,t.MAX_DESKTOP_HORIZONTAL_IMAGE_HEIGHT=296,t.MAX_DESKTOP_HORIZONTAL_IMAGE_WIDTH=296,t.MAX_DESKTOP_HORIZONTAL_IMAGE_WIDTH_REDESIGN=310,t.MAX_DESKTOP_HORIZONTAL_IMAGE_HEIGHT_REDESIGN=310,t.POSSIBLE_IMAGE_RATIOS_TOUCH=[{name:"16x9",value:16/9},{name:"4x3",value:4/3},{name:"1x1",value:1}],t.FONT_FAMILY="ys",t.FIRST_COL_CARDS_MAX_COUNT=1,t.NOT_FIRST_COL_CARDS_MAX_COUNT=3,t.LAST_STRETCHED_COL=2,t.SMALL_CARD_IMAGE_PERCENT=47,t.MEDIUM_CARDS_COL_SIZE=2,t.VISIBLE_COLS_COUNT=2,t.BIG_CARDS_COL_SIZE=1,t.POPUP_TOP_OFFSET_FROM_KEBAB=8},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyBillboardClientCode=t.initBillboardClientCode=void 0;var r=n(2),i=n(542),o=n(130),a=n(656),s=n(972),c=n(630),l=n(1788),u=n(1789);t.initBillboardClientCode=function(e,t){var n=(0,s.getElementByData)("name","billboard",e),d=(0,s.getElementByData)("name","billboardPicture",e),p=(0,s.getElementByData)("name","billboardText",e),f=(0,c.getElementsByData)("name","sitelinks",e),h=null==n?void 0:n.getAttribute("id");if(h&&p){(0,a.addObserver)(h,(function(e){e.inScreen?(p.classList.add(u("textContainer_animated",t)),p.classList.remove(u("textContainer_animated_resume",t)),p.classList.remove(u("showSitelinks",t)),p.classList.remove(u("textContainer_initial",t)),d&&d.classList.add(l("pictureContainer_animated",t))):(p.classList.remove(u("textContainer_animated",t)),p.classList.remove(u("textContainer_animated_resume",t)),p.classList.remove(u("showSitelinks",t)),p.classList.add(u("textContainer_initial",t)),d&&d.classList.remove(l("pictureContainer_animated",t)))}),e);var v=(0,i.debounce)((function(){p.classList.add(u("textContainer_animated",t)),p.classList.add(u("textContainer_animated_resume",t)),p.classList.remove(u("showSitelinks",t))}),1e3,!1),m=function(){p.classList.remove(u("textContainer_animated",t)),p.classList.remove(u("textContainer_animated_resume",t)),p.classList.add(u("showSitelinks",t)),v.cancel()};f&&(0,r.forEach)(f,(function(e){e.addEventListener("mouseenter",m),e.addEventListener("mouseleave",v),(0,o.isTouchDevice)(window)&&(e.addEventListener("touchstart",m,{passive:!0}),e.addEventListener("touchend",v))}))}},t.destroyBillboardClientCode=function(e){(0,a.removeObserver)("billboard",e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyPosterClientCode=t.initPosterClientCode=void 0;var r=n(2),i=n(1298),o=n(630),a=n(1146),s=n(1791),c=n(1305),l=n(1257),u={};t.initPosterClientCode=function(e,t,n,r){var d=((0,o.getElementsByData)("name","poster",e)||[])[0],p=t.callUrl,f=t.salt,h=t.carousel;if(d){var v=d.id;u[v]=u[v]||[],(0,a.initAdaptiveImageClientCode)(e,v,{enableAnimation:!1,lazyLoadContainer:h?(0,l.findParent)(e,(function(e){return"carousel-track"===e.dataset.name})):void 0,lazyLoadMargin:"200%"}),(0,a.adaptImageToContainer)(e),(n.vastBase64||n.vast)&&u[v].push(new c.VideoClientCode({container:e,dataSource:r(),videoParams:n,format:"poster"})),(0,i.initWarningClientCode)(e,f),u[v].push(new s.PhoneClientCode({container:e,callUrl:p}))}},t.destroyPosterClientCode=function(e){var t=((0,o.getElementsByData)("name","poster",e)||[])[0];if(t){var n=t.id;(0,a.destroyAdaptiveImageClientCode)(e,n,{lazyLoadContainer:(0,l.findParent)(e,(function(e){return"carousel-track"===e.dataset.name}))||void 0}),(0,r.forEach)(u[n],(function(e){return e.destroy()})),delete u[n]}}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.destroyImageGalleryClientCode=t.initImageGalleryClientCode=t.ImageGalleryController=void 0;var o=n(13),a=n(2),s=n(498),c=n(90),l=n(542),u=n(972),d=n(630),p=n(656),f=n(629),h=n(1214),v=n(1343),m=n(1792),g=n(1146),_=n(638),y=n(15),b=n(1793),C=function(e){function t(t){var n=e.call(this,t)||this;return n.disableFalseClickProtection=(0,l.debounce)((function(){n.props.container.removeAttribute("data-click-protection")}),500),n.onSlideDidChanged=(0,o.once)((function(){y.logger.traceLog({},"MULTIBANNER_SLIDE_CHANGED",100)})),n}return i(t,e),t.prototype.init=function(){var t,n=this;e.prototype.init.call(this);var r=this.props.container;r.setAttribute("data-initialized",""),y.logger.traceLog({},"MULTIBANNER_RENDERED",10),this.slides=(0,d.getElementsByData)("name",h.CAROUSEL_SLIDE_NAME,r)||[],this.prevButton=(0,u.getElementByData)("name",h.CAROUSEL_PREV_BUTTON_NAME,r),this.nextButton=(0,u.getElementByData)("name",h.CAROUSEL_NEXT_BUTTON_NAME,r),this.indicators=(0,d.getElementsByData)("name",m.IMAGE_GALLERY_INDICATOR_NAME,r)||[],this.kebab=(0,u.getElementByData)("new-adtune","true",r),this.adLabel=r.querySelector("[data-label]"),this.images=this.slides.map((function(e){var t;return(null===(t=(0,u.getElementByData)("name","adaptiveImageContainer",e))||void 0===t?void 0:t.parentElement)||null}));var i=new v.CarouselController({container:r,orientation:h.CarouselOrientation.HORIZONTAL,allowedPreciseScroll:!0,autoScrollDelay:2e3,onPageShown:function(e){return n.handlePageShown(e)}});this.addResource("carouselController",i),null===(t=(0,d.getElementsByData)("name",h.CAROUSEL_SLIDE_NAME,r))||void 0===t||t.forEach((function(e){var t="adaptiveImage-".concat((0,_.generateId)());(0,g.adaptImageToContainer)(e),(0,g.initAdaptiveImageClientCode)(e,t,{enableAnimation:!1,lazyLoadMargin:"100%",lazyLoadContainer:i.trackElement}),n.doOnDestroy((function(){return(0,g.destroyAdaptiveImageClientCode)(e,t)}))})),this.handlePageShown(0),this.initAutoScroll()},t.prototype.initAutoScroll=function(){var e=this.props.container,t=e.getAttribute("id"),n=e.dataset.hasOwnProperty("auto"),r=this.getResource("carouselController");if(t&&n){var i="undefined"!=typeof window&&void 0!==window.ontouchstart;this.addEventListener(e,i?"touchmove":"mousemove",(function(){null==r||r.stopAutoScroll()}),{passive:i}),this.addEventListener(e,i?"touchend":"mouseleave",(function(){null==r||r.startAutoScroll()})),(0,p.addObserver)(t,(function(e){e.inScreen?null==r||r.startAutoScroll():null==r||r.stopAutoScroll()}),e.parentElement),this.doOnDestroy((function(){return(0,p.removeObserver)(t,e.parentElement)}))}},t.prototype.handlePageShown=function(e){var t,n,r=this.props.salt,i=this.slides.length;(0,s.setAttributes)(this.prevButton,{"data-hidden":0===e?"":null}),(0,s.setAttributes)(this.nextButton,{"data-hidden":e===i-1?"":null}),(0,a.forEach)(this.indicators,(function(e){return e.removeAttribute("data-active")})),(0,a.forEach)(this.slides,(function(e){return e.removeAttribute("data-active")})),this.indicators[e].setAttribute("data-active",""),this.slides[e].setAttribute("data-active",""),e>0&&(null===(t=this.onSlideDidChanged)||void 0===t||t.call(this));var o=this.images[e].dataset,l=o.bgcolor,u=void 0===l?"#FFFFFF":l,d=o.theme,p=void 0===d?"light":d;this.props.container.setAttribute("data-click-protection",""),null===(n=this.disableFalseClickProtection)||void 0===n||n.call(this);var f=b("".concat(p,"-theme"),r),h=b("dark-theme",r),v=b("light-theme",r);this.adLabel&&(this.adLabel.classList.remove(h,v),this.adLabel.classList.add(f),(0,c.setStyle)(this.adLabel.firstChild,{background:u})),this.kebab&&(this.kebab.lastElementChild.classList.remove(h,v),this.kebab.lastElementChild.classList.add(f),(0,c.setStyle)(this.kebab.firstChild,{background:u}))},t}(f.Destroyable);t.ImageGalleryController=C;var O={};t.initImageGalleryClientCode=function(e,t,n){var r=(0,u.getElementByData)("name","imageGallery",e);r&&(O[t]=new C({container:r,salt:n}))},t.destroyImageGalleryClientCode=function(e,t){var n;null===(n=O[t])||void 0===n||n.destroy(),O[t]=void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TOOLTIP_MIN_WIDTH=t.TOOLTIP_MAX_WIDTH=t.TOOLTIP_ARROW_DEFAULT_OFFSET=t.TOOLTIP_ARROW_BORDER_SIZE=t.TOOLTIP_ARROW_DATA_ATTR=t.TOOLTIP_MARGIN_ATTR=t.TOOLTIP_TARGET_ID=t.TOOLTIP_DATA_ATTR=void 0,t.TOOLTIP_DATA_ATTR="tooltip",t.TOOLTIP_TARGET_ID="".concat(t.TOOLTIP_DATA_ATTR,"-target-id"),t.TOOLTIP_MARGIN_ATTR="".concat(t.TOOLTIP_DATA_ATTR,"-margin"),t.TOOLTIP_ARROW_DATA_ATTR="".concat(t.TOOLTIP_DATA_ATTR,"-arrow"),t.TOOLTIP_ARROW_BORDER_SIZE=5,t.TOOLTIP_ARROW_DEFAULT_OFFSET=5,t.TOOLTIP_MAX_WIDTH=300,t.TOOLTIP_MIN_WIDTH=200},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyAdaptiveClientCode=t.initAdaptiveClientCode=void 0;var r=n(2),i=n(972),o=n(630),a=n(1146),s=n(1479),c=n(1305),l=n(1298),u={};t.initAdaptiveClientCode=function(e,t,n,r,d){var p=((0,o.getElementsByData)("name","adaptiveAd",e)||[])[0];if(p){var f=p.id;u[f]=u[f]||[],(0,a.adaptImageToContainer)(e),(0,l.initWarningClientCode)(e,n);var h=(0,i.getElementByData)("adaptive","leaderboard",e),v=(0,i.getElementByData)("name","video",e),m=h&&v&&v.clientHeight<=150;(r.vastBase64||r.vast)&&u[f].push(new c.VideoClientCode({container:e,dataSource:d(),isSmallVideo:m,videoParams:r,format:"adaptive"})),(0,s.initImageGalleryClientCode)(e,p.id,n)}},t.destroyAdaptiveClientCode=function(e){var t=((0,o.getElementsByData)("name","adaptiveAd",e)||[])[0];if(t){var n=t.id;n&&((0,r.forEach)(u[n],(function(e){return e.destroy()})),delete u[n]),(0,a.destroyAdaptiveImageClientCode)(e,t.id),(0,s.destroyImageGalleryClientCode)(e,t.id)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroyAdaptiveV3ClientCode=t.initAdaptiveV3ClientCode=void 0;var r=n(630),i=n(1146),o=n(1298),a=n(1305),s=n(2),c={};t.initAdaptiveV3ClientCode=function(e,t,n,s){var l=((0,r.getElementsByData)("name","adaptiveAd",e)||[])[0],u=e.id;c[u]=c[u]||[],l&&((0,i.adaptImageToContainer)(e),(0,o.initWarningClientCode)(e,t),(n.vastBase64||n.vast)&&c[u].push(new a.VideoClientCode({container:e,dataSource:s(),videoParams:n,format:"adaptiveV3"})))},t.destroyAdaptiveV3ClientCode=function(e){var t=((0,r.getElementsByData)("name","adaptiveAd",e)||[])[0],n=e.id;(0,s.forEach)(c[n],(function(e){return e.destroy()})),delete c[n],t&&(0,i.destroyAdaptiveImageClientCode)(e,t.id)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2CarouselElementDataNames=t.ZEN2_CAROUSEL_PARTIAL_CONTAINER_TYPE=void 0,t.ZEN2_CAROUSEL_PARTIAL_CONTAINER_TYPE="zen2-carousel-container",function(e){e["adContainer"]="zen2-carousel",e["carouselContainer"]="zen2-carousel-container",e["carouselSharedHeader"]="zen2-carousel-shared-header"}(t.Zen2CarouselElementDataNames||(t.Zen2CarouselElementDataNames={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CAROUSEL_CONTAINER_NAME=void 0,t.CAROUSEL_CONTAINER_NAME="carousel-container"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZEN2_ARTICLE_BODY_PARTIAL_CONTAINER_TYPE=t.articleBodyContainerElements=void 0,t.articleBodyContainerElements={listWrapper:"zen2-article-body-list-wrapper",list:"zen2-article-body-container-list",listItem:"zen2-article-body-container-list-item",adText:"zen2-article-body-container-ad-text"},t.ZEN2_ARTICLE_BODY_PARTIAL_CONTAINER_TYPE="zen2-article-body-container"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FULLSCREEN_GRID_ITEM_NAME=t.FULLSCREEN_GRID_SCROLLABLE_NAME=t.FULLSCREEN_GRID_RESIZER_NAME=t.FULLSCREEN_GRID_CONTAINER_NAME=t.FullscreenOfferSize=t.FULLSCREEN_OFFER_OPTIMAL_WIDTH=t.LANDSCAPE_OFFER_VERTICAL_PADDING=t.LANDSCAPE_IMAGE_MAX_HEIGHT=t.LANDSCAPE_IMAGE_MAX_RATIO=t.LANDSCAPE_IMAGE_MIN_RATIO=t.PORTRAIT_IMAGE_MAX_RATIO=t.PORTRAIT_IMAGE_MIN_RATIO=t.FullscreenOrientation=t.FullscreenTheme=void 0,function(e){e["DARK"]="dark",e["LIGHT"]="light"}(t.FullscreenTheme||(t.FullscreenTheme={})),function(e){e["PORTRAIT"]="portrait",e["LANDSCAPE"]="landscape"}(t.FullscreenOrientation||(t.FullscreenOrientation={})),t.PORTRAIT_IMAGE_MIN_RATIO=9/16,t.PORTRAIT_IMAGE_MAX_RATIO=16/9,t.LANDSCAPE_IMAGE_MIN_RATIO=9/16,t.LANDSCAPE_IMAGE_MAX_RATIO=1,t.LANDSCAPE_IMAGE_MAX_HEIGHT=184,t.LANDSCAPE_OFFER_VERTICAL_PADDING=16,t.FULLSCREEN_OFFER_OPTIMAL_WIDTH=156,function(e){e["XS"]="xs",e["SM"]="sm",e["MD"]="md",e["LG"]="lg"}(t.FullscreenOfferSize||(t.FullscreenOfferSize={})),t.FULLSCREEN_GRID_CONTAINER_NAME="fullscreen-grid-container",t.FULLSCREEN_GRID_RESIZER_NAME="fullscreen-grid-resizer",t.FULLSCREEN_GRID_SCROLLABLE_NAME="fullscreen-grid-scrollable-container",t.FULLSCREEN_GRID_ITEM_NAME="fullscreen-grid-item"},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.SmartBannerController=void 0;var s=n(629),c=n(1290),l=n(972),u=n(644),d=n(59),p=n(320),f=n(0),h=n(655),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){e.prototype.init.call(this);var t=this.props.container;this.addResource("bannerLayoutController",new c.BannerLayoutController({container:t}));var n=(0,l.getElementByData)("close","",t);n&&(n.removeAttribute("data-close"),this.addEventListener(n,"click",this.handleClickCrossBtn))},t.prototype.handleClickCrossBtn=function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=(0,this.props.getDataSource)(),r=n.getSettings(),i=n.getFreeAds(),s=i[0],c=s.abuseUrl,l=n.getLanguage(),v=(0,d.unique)(i.reduce((function(e,t){return a(a([],e,!0),(0,p.getBannerFlags)(t.bannerFlags),!0)}),[])).join(","),m=(0,p.hasImportantFlags)(v)?"":s.warning,g=s.url.toString(),_=n.isInternalRequest()||"exp"===(0,f.useExperimentFlag)("ADVERTISER_INFO_LINK")?(0,h.getAdvertiserInfoUrl)(c):"";(0,u.showAdtune)(this.props.container,{useNewAdtuneAndKebab:!0,abuseUrl:c,language:l,hasBackground:!0,hasBorders:!1,bigCross:!1,type:"default",warning:m,copyLink:g,advertiserInfoLink:_,callback:function(e){return t.closeAdtune(e)}},{nonce:this.props.nonce,data:o({blockId:r.blockId,bannerId:s.adId,hitLogId:s.hitLogId},n.getBugData()),hasShowBug:n.hasShowBug()})},t.prototype.closeAdtune=function(e){e&&this.props.onClose()},t}(s.Destroyable);t.SmartBannerController=v},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.SharedContextMenuController=void 0;var o,a=n(629),s=n(34),c=n(626),l=n(315),u=n(972),d=n(1821),p=n(1822);!function(e){e["close"]="1",e["open"]="2"}(o||(o={}));var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this,t=this.props.buttons,n=this.getElements(),r=n.contextMenu,i=n.contextMenuContent;if(r&&i){for(var o=function(t){a.addEventListener(t,"click",(function(n){n.stopPropagation(),e.toggle(t)})),a.addEventListener(t,"touchstart",(function(e){e.stopPropagation()}))},a=this,s=0,c=t;s<c.length;s++){o(c[s])}this.addEventListener(r,"click",(function(e){e.stopPropagation()})),this.addEventListener(r,"touchstart",(function(e){e.stopPropagation()})),this.addEventListener(window,"click",(function(){e.close()})),this.addEventListener(window,"touchstart",(function(){e.close()}))}},t.prototype.getElements=function(){var e;return this.elements||(this.elements=(e=this.props.container,{contextMenu:(0,u.getElementByData)("name",d.sharedContextMenuDataNames.sharedContextMenu,e),contextMenuContent:(0,u.getElementByData)("name",d.sharedContextMenuDataNames.sharedContextMenuContent,e)})),this.elements},t.prototype.toggle=function(e){var t=this.props,n=t.salt,r=t.getContextMenuContent,i=this.getElements(),a=i.contextMenu,s=i.contextMenuContent;if(a&&s){if(this.isOpen()){var c=this.currentButton!==e;if(this.close(),!c)return}this.currentButton=e,this.sendEvent(this.currentButton,o.open),s.innerHTML=r(this.currentButton),a.classList.add(p("sharedContextMenu_visible",n)),this.updateContextMenuPosition()}},t.prototype.close=function(){var e=this.props.salt,t=this.getElements(),n=t.contextMenu,r=t.contextMenuContent;n&&r&&this.isOpen()&&this.currentButton&&(this.sendEvent(this.currentButton,o.close),this.currentButton=void 0,n.classList.remove(p("sharedContextMenu_visible",e)),r.innerHTML="")},t.prototype.sendEvent=function(e,t){var n=(0,this.props.getAbuseUrl)(e);(0,c.sendPixel)(new l.Url({host:n,params:{"action-id":"0","reason-id":t}}).getUrl())},t.prototype.isOpen=function(){var e=this.props.salt,t=this.getElements().contextMenu;return Boolean(null==t?void 0:t.classList.contains(p("sharedContextMenu_visible",e)))},t.prototype.updateContextMenuPosition=function(){var e=this.props.container,t=this.getElements().contextMenu;if(t&&this.currentButton){var n=(0,s.getBoundingClientRect)(e),r=(0,s.getBoundingClientRect)(this.currentButton),i=r.top-n.top,o=n.bottom-r.bottom;i>=o?(t.style.removeProperty("top"),t.style.setProperty("bottom","".concat(n.bottom-r.top+6,"px")),t.style.setProperty("max-height","".concat(i-10-6,"px"))):(t.style.removeProperty("bottom"),t.style.setProperty("top","".concat(r.bottom-n.top+6,"px")),t.style.setProperty("max-height","".concat(o-10-6,"px"))),r.right-n.left>=n.right-r.left?(t.style.removeProperty("left"),t.style.setProperty("right","".concat(n.right-r.right,"px"))):(t.style.removeProperty("right"),t.style.setProperty("left","".concat(r.left-n.left,"px")))}},t}(a.Destroyable);t.SharedContextMenuController=f},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initErrorLogger=void 0;var r=/\/partner-code-bundles\/\d+\/\w+\.js$|system\/context\.js/i;t.initErrorLogger=function(){(0,n(24).on)(window,"error",(function(e){r.test(e.filename)&&n(15).logger.error(e,"UncaughtError")}))}},function(e,t,n){"use strict";var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n["default"]=e,t&&t.set(e,n);return n}(n(645));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(){this._rtb=new(n(1575)),this._settingsStorage={},this._hiddenTime=1e4,this._refreshFlag=!1,this._initAdRefreshment(),(0,n(1668).initReportListener)()}c.prototype={render:function(e,t){var r,i=this;this.tzarEventConfirmation=new(n(1670).TzarEventConfirmation)(e),e.uniqueId?r=(0,n(74).getPlacement)(e.uniqueId):((e=a({},e)).uniqueId=(0,n(61).generateHexString)(10),e.slotIndex=(0,n(346).increaseCounter)(),(r=(0,n(74).registerPlacement)(e.uniqueId)).setCallbacks({onError:e.onError,onClick:e.onClick,onRender:e.onRender,altCallback:e.altCallback||t,onCustomElementClick:e.onCustomElementClick}),r.setBlockId(e.blockId),r.setContainer(e.renderTo));var o=(0,n(118).querySelector)("#"+r.renderTo);if(!o){var s='Container with id "'+r.renderTo+'" is not found (init)';return r.callbacks.triggerError("CONTAINER_NOT_FOUND",s),void n(15).logger.errorStrict("CONTAINER_NOT_FOUND",{text:s,pageId:r.blockId.pageId,blockId:r.blockId.origin,renderTo:r.renderTo})}if(r.isValid()){var c=(new Date).getTime()/1e3;if((0,n(1285).canMakeRequest)(e.blockId,c)){(0,n(27).setMark)(e.uniqueId,n(27).RenderMarks.AdvManagerRender),e.adSessionId&&(0,n(66).setSessionId)(e.adSessionId),(0,n(26).saveBundleType)(e.bundle),(0,n(26).saveBundleType)(e.data),n(15).logger.configure({labels:{pageId:(0,n(198).getServiceName)()},data:{blockId:e.blockId,pageId:r.blockId.pageId}}),(0,n(24).on)(o,"error",this._sendExternalResourceError,this,{capture:!0});var l=n(147).getRenderId(e),u=this._shouldReloadAds()&&!e.disableRefresh;this.save(l,[e],u),e.onDataLoad=function(t){var o=r.blockId.impId;(0,n(1285).markRequest)(e.blockId,c,t.settings&&t.settings[o]&&t.settings[o].pcodeSettings);var a=(0,n(1285).getRequestInterval)(e.blockId);e.autoRefresh&&!i.getSaved(l).autoRefreshStarted&&a&&(i.patchSaved(l,{autoRefreshStarted:!0}),setInterval((function(){return i._renderAgain()}),1e3*a))};var d=r.blockId.product;switch(d){case"R":case"N":case"D":var p=n(147).prepareRtbConfig(e);this._rtb.render(p,this._refreshFlag);break;case"Y":this._renderDistribution(e);break;default:var f='Block type "'+d+'" is not supported';r.callbacks.triggerError("UNKNOWN_BLOCK_TYPE",f),n(15).logger.errorStrict("UNKNOWN_BLOCK_TYPE",{text:f,blockId:e.blockId})}}}else(0,n(74).destroyPlacement)(e.uniqueId)},renderWidget:function(e){var t=(0,n(345).prepareWidgetConfig)(e);this.render(a({},t,{statId:e.statId,extParams:e.extParams,data:e.data,onClick:e.onClick,onCustomElementClick:e.onCustomElementClick}),t.onError)},_shouldReloadAds:function(){return!(0,n(26).checkBundleType)(n(26).bundleTypes.SSP)&&!(0,n(26).checkBundleType)(n(26).bundleTypes.mobileSdk)},_sendExternalResourceError:function(e){n(15).logger.error(new Error("ExternalResourceError"),void 0,{tagName:e&&e.srcElement?e.srcElement.tagName:"none",src:e&&e.target?e.target.src:"none"})},_renderDistribution:function(e){var t=this;this._distribution||n(1671)((function(r){t._distribution=new r,t._distribution.render(n(147).prepareDistributionConfig(e))}),(function(e){return n(15).logger.error(e,"Distribution bundle loading error")}))},save:function(e,t,n){var r=this._settingsStorage[e]||{};this._settingsStorage[e]=a({},r,{args:t,canRerender:n})},getSaved:function(e){return a({},this._settingsStorage[e])},patchSaved:function(e,t){this._settingsStorage[e]=a({},this._settingsStorage[e],{},t)},_prepareArgs:function(e,t){var n=[].concat(e),r=n[t];return this._shouldReloadAds()&&r&&!r.disableRefresh&&delete r.data,r.refresh=!0,n},_renderAgain:function(){var e=this;(0,n(26).checkBundleType)(n(26).bundleTypes.SSP)||(Ya.Context._asyncModeOn=!0,this._getBlocksToRerender((function(t){e._lastTimeOfRefresh=Number(new Date),(0,n(2).forEach)(t,(function(t){return e.refreshByBlockId(t)}))})))},refreshByBlockId:function(e){this._refreshFlag=!0;var t=this.getSaved(e);t.canRerender&&((0,n(6).getYaContext)().AdvManager.render.apply(this,this._prepareArgs(t.args,0)),this._refreshFlag=!1)},_initAdRefreshment:function(){var e=this,t=Date.now();(0,n(24).on)(document,r.changeEventName,(function(){r.isHidden()?t=Date.now():Date.now()-t>e._hiddenTime&&e._renderAgain()}))},_getBlocksToRerender:function(e){e(this._rtb.getBlocksToRerender())},getSkipToken:function(e){return this._rtb.getSkipToken(e)},getCapturedCount:function(){return this._rtb.getCapturedCount()},getAdSessionId:function(){return(0,n(66).getSessionId)()},getBlocks:function(){return(0,n(74).getAllBlocksInfo)()},destroy:function(e){var t=this,r=(0,n(458).getObjectValues)(this._settingsStorage),i=e?(0,n(18).filter)(r,(function(n){return t._destroySettingsComparer(n,e)})):r;(0,n(2).forEach)(i,(function(e){t._destroyByCfg(e.args[0])})),this.tzarEventConfirmation&&this.tzarEventConfirmation.destroy()},_destroySettingsComparer:function(e,t){var n=e.args[0];return!(t.renderTo&&n.renderTo!==t.renderTo||t.blockId&&n.blockId!==t.blockId)},_destroyByCfg:function(e){var t=n(147).parseBlockId(e.blockId).product;switch((0,n(74).destroyPlacement)(e.uniqueId),(0,n(62).destroyAdSeenObserver)(this.uniqueId),t){case"N":case"D":case"R":this._destroyBlockFromManager(this._rtb,e);break;case"Y":this._destroyBlockFromManager(this._distribution,e)}},_destroyBlockFromManager:function(e,t){e&&e.destroy(t)}},e.exports=c},function(e,t,n){"use strict";function r(){this._managers={}}function i(e,t){try{for(var r={width:.9*window.innerWidth,height:.9*window.innerHeight},i=t;i;){var o=window.getComputedStyle(i).getPropertyValue("position");if("absolute"===o||"fixed"===o){var a=(0,n(471).getElementRectSize)(i),s=Boolean(location&&(0,n(5).isString)(location.href)&&(0,n(3).isFunction)(location.href.indexOf)&&(-1!==location.href.indexOf("yandex.ru/games")||-1!==location.href.indexOf("games.s3.yandex.net")));if(a.width>=r.width&&a.height>=r.height)return void n(15).logger.traceLog({blockId:e,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,wrapperWidth:a.width,wrapperHeight:a.height},s?"FULLSCREEN_LOGGING":"ALL_FULLSCREENS_LOGGING",100)}i=i.parentElement}}catch(e){}}function o(e,t){var r=t;try{for(;r;){var i=window.getComputedStyle(r).getPropertyValue("position");if("absolute"===i||"fixed"===i){var o=window.innerWidth,a=window.innerHeight,s=(0,n(34).getBoundingClientRect)(r),c=s.width,l=s.height,u=s.top;if(c<.7*o||l>.3*a)return;if(Math.abs(u)>20&&Math.abs(u+l-a)>20)return;return void n(15).logger.traceLog({blockId:e,viewportWidth:o,viewportHeight:a,wrapperWidth:c,wrapperHeight:l,position:Math.abs(u)<20?"TOP":"BOTTOM"},"FLOOR_AD_USE_CASE",10)}r=r.parentElement}}catch(e){}}r.prototype={render:function(e,t){var r=(0,n(7).protect)(n(7).ProtectedNames.Rtb+".render",(function(r){var i=this._getManagerKey(e);for(var o in this._managers){if(this._managers.hasOwnProperty(o))(this._managers[o]&&this._managers[o].getRenderTo())===e.renderTo&&o!==i&&this._destroyByKey(o)}e.onDataLoad(r.data),(0,n(1285).canShowAd)(e.blockId)&&this.renderByData(r,{isRefresh:t})}),this),i=(0,n(7).protect)(n(7).ProtectedNames.Rtb+".render",this._renderWithoutReload,this);this._load(e,r,i)},renderByData:function(e,t){var r=e.rtbManager,a=e.data,s=e.cfg;if(a.settings){var c=s.blockImpId,l=a.settings[c]||{};(0,n(324).getAdUsageStorage)(s).saveAdFilter(l.adFilter,Boolean(a.rtb))}r.setData(a);var u=s.onRender,d=setTimeout((function(){n(15).logger.errorStrict("TOO_SLOW_RENDERING",{text:"Rendering takes more than 5 seconds"})}),5e3),p=(0,n(118).querySelector)("#"+s.renderTo);s.onRender=function(){(0,n(3).isFunction)(u)&&(u.apply(null,arguments),clearTimeout(d));var e=a.settings,t=void 0===e?{}:e;"exp"!==(0,n(0).useExperimentFlag)("FULLSCREEN_LOGGING")||t.interscroller||i(s.blockId,p),t.interscroller||(0,n(1325).isFloorAd)(t)||o(s.blockId,p)},r.render(s,t)},destroy:function(e){this._destroyByKey(this._getManagerKey(e))},_destroyByKey:function(e){this._managers[e]&&(this._managers[e].destructor(),delete this._managers[e])},_renderWithoutReload:function(e,t){e.render(t,{})},_getManagerKey:function(e){return e.blockId+"#"+(e.pageNumber?e.pageNumber:"")},_getManager:function(e){var t=this._getManagerKey(e);return t in this._managers||(this._managers[t]=new(n(1576))({onAdAbused:this.handleAdAbused.bind(this)})),this._managers[t]},_load:function(e,t,r){this._loadData(this._getManager(e),e,!Ya.Context._asyncModeOn,t,r),(0,n(1667).hitOnce)(e.pageId)},_loadData:function(e,t,r,i,o){if(t.data)return(0,n(26).saveBundleType)(t.data),void i({cfg:t,data:t.data,rtbManager:e,dataFromParams:!0});if(!e.dataCanReload())return(0,n(26).saveBundleType)(t.bundle),void o(e,t);e.setLastRenderCall();var a=new RtbDataLoader;a.setConfig(t),a.loadData((function(t,r){void 0===r&&(r=n(4).noop),i({cfg:t,data:t.data,rtbManager:e}),r()}))},getBlocksToRerender:function(){var e=[];return(0,n(19).forOwn)(this._managers,(function(t){var n=t.getBlocksToRerender();n.length>0&&(e=e.concat(n),t.resetTimeout())})),e},getBlocks:function(){var e=[];return(0,n(19).forOwn)(this._managers,(function(t){var n=t.getBlocks();n.length>0&&(e=e.concat(n))})),e},getBlock:function(e){var t=this.getBlocks();return(0,n(18).filter)(t,(function(t){return t.blockId===e}))[0]},clearBlockTimeout:function(e){this._getManager(e).resetTimeout()},getSkipToken:function(e,t){var r=t||e&&this._getManager(e);return(0,n(324).getAdUsageStorage)(e).getSkipToken(e,r&&r.getUsedIds())},getCapturedCount:function(){return(0,n(324).getAdUsageStorage)().getCapturedCount()},handleAdAbused:function(e,t,r){var i=this;(0,n(1092).shouldSlideUp)(t,r)&&e.slideUp((function(){var e=t.renderTo,r=t.onHide;i.destroy(t);var o=n(1077).dom.querySelector("#"+e);o&&(0,n(639).clearHTML)(o),r&&(0,n(3).isFunction)(r)&&r.call(window,e)}))}},e.exports=r},function(e,t,n){"use strict";var r=n(25).getUaasConfig;e.exports=function(e){var t,i,o,a,s,c,l,u=this,d=null,p=null,f=new(n(1577))({onAdAbused:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];g.apply(void 0,n)}}),h=null,v=e.onAdAbused;function m(o,a){var u=this,f=n(1077).dom.querySelector("#"+o.renderTo);if(!f)return p=null,d=null,void(s&&(s.destructor(),s=null));if(f!==p||d!==i){if(p=f,d=i,s&&s.destructor(),!c){var h,v=t.settings?t.settings[o.blockImpId]||t.settings:{},m=t&&t.rtb,_=t&&t.common,y=m&&m.activeTestIds||_&&_.activeTestIds,b=r().testIds,C=(c=new(n(1617))(t,v,o)).getMediaTesttag();C&&(h={"media-test-tag":C.toString()}),l=n(1427).RtbVisibilityManager.getManager({nonce:o.cspNonce,linkTail:c.getLinkTail(),viewNotices:c.getViewNotices(),winNotice:c.getWinNotice(),safeframe:!c.isInlineSSP(),isSendTestIds:c.isSSP()||c.isApp(),activeTestIds:y,getClientActiveTestIds:function(){return u._clientActiveTestIds},testIds:b,query:h}),c.setAbuseHandler((function(e){g(o,e)}))}(s=new(n(1631))({dataSource:c,data:t,uniqueId:o.uniqueId,blockId:o.blockId,renderTo:"#"+o.renderTo,onRender:function(){var i,a,c,l;o.renderData?(0,n(76).logSSPEvent)("SSP_EXP_RENDER_COMPLETE_RTB",o.renderData):"ssp"===o.bundle&&o.data&&(0,n(76).logSSPEvent)("SSP_CTRL_RENDER_COMPLETE_RTB",o.data),(0,n(27).setMark)(o.uniqueId,n(27).RenderMarks.OnRenderCalled);var u=[],d=null==(i=t.eventConfirmationData)?void 0:i.HitLogID,p=null==(a=t)||null==(c=a.common)?void 0:c.productType;if((0,n(10).isArray)(t.seatbid)&&(0,n(10).isArray)(t.seatbid[0].adIds))for(var f=t.seatbid[0].adIds,h=0;h<f.length;h++){var v={adId:f[h]};d&&(v.hitLogId=d),u.push(v)}else if(t.rtb)for(var m=(t.settings?t.settings[o.blockImpId]||t.settings:{}).bannerIds||[],g=(0,n(5).isString)(p)?p.indexOf("video")>-1:void 0,_=0;_<m.length;_++){var y={adId:m[_],video:g};d&&(y.hitLogId=d),u.push(y)}var b=s.dataSource,C={product:t.seatbid?"native":"rtb",lang:b.getLanguage(),advData:u,productType:p};if(b.isApp()){var O=s.getTesttag(),E=["pcode-test-ids-from-count="+r().testIds],A=b.generateActiveTestIds();A&&E.push("pcode-active-testids="+A);var I=b.getMediaTesttag();I&&E.push("media-test-tag="+I),O+="&"+E.join("&"),e.testTag=O,C.testTag=s.getTesttag()}null==(l=(0,n(74).getPlacement)(o.uniqueId))||l.callbacks.triggerOnRender(C)},visibilityManager:l,checkVisibility:o.checkVisibility,nonce:o.cspNonce,pageNumber:o.pageNumber,onHide:o.onHide,nanpuSettings:o.nanpuSettings,nativeAdditionalClasses:o.nativeAdditionalClasses,darkTheme:o.darkTheme,renderParams:a,adUsageStorage:(0,n(324).getAdUsageStorage)(o)})).render(f)}}function g(){if(v&&(0,n(3).isFunction)(v)){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];v.apply(void 0,[u].concat(t))}}this.setData=function(e){t=e,i=new Date,c=null,l=null,f.setData(t),a=t.common&&t.common.reloadTimeout?Number(t.common.reloadTimeout):n(145).defaultReloadTimeout},this.setLastRenderCall=function(){o=Date.now()},this.getBlocksToRerender=function(){return s&&s.isVisible?s.isVisibilityConfirmed()&&s.isVisible()?[h]:[]:f.getBlocksToRerender()},this.getBlocks=function(){return s&&s.isInViewport?[s]:f.getBlocks()},this.resetTimeout=function(){f&&f.resetTimeout(),i=null,o=null},this.getUsedIds=function(e){return f.getUsedIds(e)},this.dataCanReload=function(){return(0,n(39).isHostInList)(window,["yandexMail"])?!o||new Date-o>1e3*a:!i||new Date-i>1e3*a},this.render=function(e,r){if(void 0===r&&(r={}),t){r.horizontalAlign||(r.horizontalAlign=Boolean(e.horizontalAlign));var i=Boolean(n(1245).querySelector("#"+e.renderTo));if(!i){var o='Container with id "'+e.renderTo+'" is not found (data loaded)',a=(0,n(74).getPlacement)(e.uniqueId);null==a||a.callbacks.triggerError("CONTAINER_NOT_FOUND",o),n(15).logger.errorStrict("CONTAINER_NOT_FOUND",{text:o,pageId:e.pageId,blockId:e.blockId,renderTo:e.renderTo})}if(h=null,i&&t.rtb)this.sendAdbEvent(e),m(e,r),h=n(147).getRenderId(e,r),(0,n(174).isLightHouse)()||n(1254).transport.initSupportLogic(e.cspNonce),n(1254).transport.cookieMatching(t.matchUrls,e.cspNonce);else if(i&&t.direct)!function(e,r){s&&s.destructor();var i=(0,n(318).extend)(e,{product:"direct"}),o=t.settings[e.blockImpId];e.imagesFirst&&(o.imagesFirst=!0);var a=f.getData();n(1254).transport.cookieMatching(a&&a.matchUrls,e.cspNonce),f.render(i,o,r),s={destructor:function(){t.direct||f.render(i,o)}}}(e,r);else if(i&&t.seatbid)this.sendAdbEvent(e),h=n(147).getRenderId(e,r),m(e,t);else{if(r.isRefresh)return;s&&(s.destructor(),s=null);var c=(0,n(74).getPlacement)(e.uniqueId);null==c||c.callbacks.triggerAltCallback()}}else n(15).logger.errorStrict("POSSIBLE_DOUBLE_RENDER",{text:"No data in rtb_manager.render",pageId:e.pageId,blockId:e.blockId,renderTo:e.renderTo})},this.destructor=function(){s&&s.destructor&&s.destructor(),f.destructor(),f=null,p=null},this.getRenderTo=function(){var e=f.getRenderTo(),t=p&&p.getAttribute("id");return e||t},this.slideUp=function(e){var t=null;if(s.slideUp)t=s;else if(f){var r=f.getBlocks();r.length>1&&n(15).logger.warn(new Error("DirectManager returned block count greater than 1"),"RtbManager::slideUp",{directBlocks:r}),t=r[0]}t.slideUp&&t.slideUp((function(){e()}))},this.sendAdbEvent=function(e){}}},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(1578).parse;function a(e){this._blocks={},this._onAdAbused=e.onAdAbused}function s(e){var t=e.getUsedAdvs(),r=[];return t&&(0,n(2).forEach)(t,(function(e){r.push(e.adId)})),r}a.prototype.setData=function(e){this._data=e,this._visibilityManager=new(n(1580).DirectVisibilityManager)},a.prototype.getData=function(){return this._data},a.prototype.resetTimeout=function(){},a.prototype.getBlocksToRerender=function(){var e=[];return(0,n(19).forOwn)(this._blocks,(function(t,n){t&&t.isVisible&&t.isVisibilityConfirmed()&&t.isVisible()&&e.push(n)})),e},a.prototype.getBlocks=function(){var e=[];return(0,n(19).forOwn)(this._blocks,(function(t){e.push(t)})),e},a.prototype.render=function(e,t,r){void 0===r&&(r={}),r.horizontalAlign||(r.horizontalAlign=Boolean(e.horizontalAlign));var i=Boolean(n(1245).querySelector("#"+e.renderTo));if(this.renderTo=e.renderTo,!i){var o='Container with id "'+e.renderTo+'" is not found (data loaded)',a=(0,n(74).getPlacement)(e.uniqueId);return null==a||a.callbacks.triggerError("CONTAINER_NOT_FOUND",o),void n(15).logger.errorStrict("CONTAINER_NOT_FOUND",{text:o,pageId:e.pageId,blockId:e.blockId,renderTo:e.renderTo})}(0,n(174).isLightHouse)()||n(1254).transport.initSupportLogic(e.cspNonce);var s=n(147).getRenderId(e);if(this._destroyBlock(s),this._data&&this._data[e.product])this._createBlockWrapper(e,t,r);else{var c=(0,n(74).getPlacement)(e.uniqueId);null==c||c.callbacks.triggerAltCallback()}},a.prototype._createBlockWrapper=function(e,t,r){var i=this,o=n(147).getRenderId(e);this._createBlock({cfg:e,rawSettings:t,renderParams:r,callback:function(r){if(r)i._blocks[o]=r,r.render((function(){if(i._runOnRenderCallback(r,e),(0,n(135).isInSafeframe)(window)){var o=(0,n(34).getBoundingClientRect)(n(1245).querySelector("#"+e.renderTo)),a=o.width,s=o.height,c=t||{},l=c.width,u=c.height;(0,n(135).updateSafeframeSize)(window,{width:Math.max((0,n(326).getValidNumber)(l)||0,a),height:Math.max((0,n(326).getValidNumber)(u)||0,s)})}}));else{var a=(0,n(74).getPlacement)(e.uniqueId);null==a||a.callbacks.triggerAltCallback()}}})},a.prototype.getRenderTo=function(){return this.renderTo},a.prototype._destroyBlock=function(e){this._blocks[e]&&(this._blocks[e].destructor(),delete this._blocks[e])},a.prototype._runOnRenderCallback=function(e,t){(0,n(92).brakeFor)(n(92).POINT_NAME.DOM_RENDERING),(0,n(27).setMark)(t.uniqueId,n(27).RenderMarks.OnRenderCalled);var r=t.onRender;if(r){var i,o,a=e.dataSource,s={lang:a.getLanguage(),product:"direct",productType:null==a||null==(i=a._data)||null==(o=i.common)?void 0:o.productType},c=e.getUsedAdvs();if(s.advData=(0,n(12).map)(c,(function(e){var t={adId:e.adId,eventHash:e.eventHash,hitLogId:e.hitLogId,video:a.hasVideo()};return e.ctr&&(t.ctr=e.ctr),t})),a.isApp()){var l=e.getTesttag(),u=["pcode-test-ids-from-count="+(0,n(25).getUaasConfig)().testIds,"actual-format="+(0,n(1326).getSsrActualFormat)(a.actualFormat,a._settings),"format-type="+a._format.index],d=a.generateActiveTestIds();d&&u.push("pcode-active-testids="+d),l+="&"+u.join("&"),s.testTag=l}r(s)}},a.prototype.getUsedIds=function(e){var t=[];return e&&this._blocks[e]?t=t.concat(s(this._blocks[e])):(0,n(19).forOwn)(this._blocks,(function(e){e&&(t=t.concat(s(e)))})),t},a.prototype._createBlock=function(e){var t=this,n=e.cfg,r=e.rawSettings,i=e.renderParams,o=e.callback;this._getFormatObject({rawSettings:r,cfg:n,callback:function(e){return void 0===e&&(e={}),t._createBlockByFormat({formatObject:e,createBlockCallback:o,cfg:n,renderParams:i,rawSettings:r})}})},a.prototype._createBlockByFormat=function(e){var t=this,o=e.formatObject,a=e.createBlockCallback,s=e.cfg,c=e.renderParams,l=e.rawSettings;if(null===o.format)return n(15).logger.error(new Error("Format not found"),"Format_NoFormat",{name:l.name}),a(null);n(28).isAMP&&(l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},l,{},(0,n(60).getWindowSize)()));var u=this._getSettings(o,l,s);if(null===u)return n(15).logger.error(new Error("Settings is null"),"Format_NoSettings"),a(null);var d=new(n(1587))({data:this._data,settings:u,visibilityManager:this._visibilityManager,onAdAbused:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t._handleAdAbuse.apply(t,[s].concat(n))}},s);if(d.isEmpty())return n(15).logger.error(new Error("No ads to render"),"Format_NoData"),a(null);var p=s.blockId;a(new o.constructor(d,u,s.renderTo,p,s.cspNonce,s.pageNumber,c,s.uniqueId))},a.prototype.destructor=function(){(0,n(19).forOwn)(this._blocks,(function(e){e.destructor()})),this._blocks={}},a.prototype._handleAdAbuse=function(){if(this._onAdAbused&&(0,n(3).isFunction)(this._onAdAbused)){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];this._onAdAbused.apply(this,[this].concat(t))}},a.prototype.slideUp=function(e,t){var n=this,r=this._blocks[e];r.slideUp&&r.slideUp((function(){n._destroyBlock(e),t()}))},a.prototype._getFormatObject=function(e){var t,r=e.rawSettings,i=e.callback,o=e.cfg,a=r.name,s=o.directSettings||{};if((location.href||"").indexOf("partner-page.html")>0&&s.type&&(a=s.type),n(28).isAMP&&(a="adaptive0418",r.limit=1),"interstitial"===a){var c=(0,n(326).getValidNumber)(r.width),l=(0,n(326).getValidNumber)(r.height);a=n(1604)({width:c,height:l})}if(this._data.direct.ssr&&this._data.direct.ssr.html){var u=(0,n(1198).camelize)("ssr-"+a);a=n(1435).getFormatByName(u)?u:n(327).BlockTypes.SSR}!this._data.direct.ssr&&(0,n(49).includes)(["adaptiveConstructor","horizontalSD"],a)&&(a="adaptive0418",n(15).logger.traceLog({bidReqId:null==(t=this._data.rtbAuctionInfo)?void 0:t.bidReqId,settings:r},"BAD_SSR_CONSTRUCTOR",100));this._data.direct.ssr||"smart_tile"!==a&&"smart_mosaic"!==a||(a="adaptive0418"),i({constructor:n(1606),format:n(1435).getFormatByName(a)})},a.prototype._getSettings=function(e,t,r){var i=e.format;i.blockId=r.blockId;var a=o(i,t,r);return a?((0,n(342).setAllowRepeatAds)(a.allowRepeatAds),a):null},e.exports=a},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.parseSettings=t.getLimit=t.parse=void 0,t.parse=function(e,t,o){var s=o.directSettings,c=o.data;return s&&(t=r(r({},t),function(e){var t={};return(0,n(19).forOwn)(e,(function(e,r){(0,n(10).isArray)(i)&&(t[r]=e)})),t}(s))),a(t,e,c)};var i=["siteBgColor","bgColor","borderColor","headerBgColor","titleColor","textColor","urlColor","urlBackgroundColor","sitelinksColor","hoverColor","titleHoverColor","backColor","highlightColor","smallImage","buttonTextColor","buttonBgColor"];function o(e,t){var r=e.limit,i="adaptive"===e.name||e.name in n(1253).adaptive0418Blocks;if(e.fixed&&!i)return r;var o=parseInt(t.limit,10);return(0,n(307).isInRange)(o,1,r)?o:r}function a(e,t,r){var i=Number(e.domainFontSize)||0,a=e.domainBgOpacity,s=e.titleFontSizeAbs,c=e.fontSizeAbs,l=e.bodyFontSize,u=e.animationStep,d=(e||{}).name,p=e.ssrName,f=function(e,t){var r;return((null===(r=null==t?void 0:t.direct)||void 0===r?void 0:r.ads)||[]).some((function(e){var t=e.vastBase64,n=e.vast;return Boolean(t)||Boolean(n)})),!!(0,n(1579).isHostInAnimationList)(window)&&e.enableAnimation}(e,r),h=Number(e.animationCount)||1/0,v=e.linkTail,m=e.renderLinkTail,g=Boolean(e.favicon),_=Boolean(void 0===e.button||e.button),y=Boolean(e.warningCompact)&&!1,b=Boolean(e.noSitelinks),C=Boolean(e.paddingsDisabled),O=Boolean(e.noBodyText),E=e.c11n||{},A=Boolean(e.imagesFirst),I=o(t,e),S=void 0===e.bannerBorder?t.border[0]:e.bannerBorder,T=Boolean(e.borderRadius),w=void 0===e.linksUnderline||Boolean(e.linksUnderline),R=e.adaptiveType,P=e.horizontalAlign,k=Boolean(Number(e.callouts||0)),M=Boolean(Number(e.skipCyclicAnimation||0)),L=function(e,t){var r=e.fontSize,i=e.titleFontSize,o=e.fontFamily;t.fixed&&(r="1",i="3");0===t.name.indexOf("poster")&&(r="1");var a="simple"!==t.name,s=parseFloat(r);a&&!(0,n(307).isInRange)(s,.8,1.2)&&(s=1);var c=parseFloat(i);a&&!(0,n(307).isInRange)(c,1,3)&&(c=3);var l="";if(a)for(var u={1:[[0,110],[1,107]],2:[[0,135],[.9,130],[1,126]],3:[[0,144],[.9,142],[1,133]]}[c],d=0;u[d]&&u[d][0]<s;d++)l=u[d][1]+"%";var p=String(o||"").toLowerCase();return{fontSize:s,titleFontSize:c,titleFontSizePercent:l,fontFamily:p}}(e,t);-1!==t.name.toLowerCase().indexOf("poster")&&(e.headerBgColor=null,A=!0);function N(t){if(e[t]){var r=(0,n(494).normalizeColorHash)(e[t]);return null!==r?(0,n(182).createColor)(r).toString():void 0}}function D(t){return(0,n(326).getValidNumber)(e[t])}0===t.name.indexOf("320x50")&&(w=!1);var B=Boolean(e.smallPictures),x=e.allowRepeatAds&&(0,n(340).parseAllowRepeatAds)(e.allowRepeatAds),j=e.advSpacing,F=e.advMinSquare,U=e.advMinHeight,V=e.advMinWidth,z=e.theme,H=e.layout,G=e.skin,W=e.headerPosition,K=e.imagePosition,Y=e.imagePaddingLeft,Z=e.clickableBackground,q=Number(e.headerFontSize),X=Number(e.imageRadius)||0,$=e.headerText?String(e.headerText):void 0,Q="right"===e.pictureFloat?"right":void 0,J=Boolean(e.fullClickable),ee=Boolean(e.extendedTitleFontRange),te=Boolean(e.feedbackBgColor),ne=Boolean(e.fullscreen),re=Boolean(e.floorAd),ie=e.fullscreenTheme,oe=e.fullscreenDisableTimeout,ae=Number(e.fullscreenDuration)||10,se=Number(e.fullscreenCloseButtonVisibilityTimeout)||void 0,ce=Boolean(e.rewarded),le=Boolean(e.rewardedOverlay),ue=Boolean(e.interscroller),de=e.interscrollerAnimation,pe=void 0===de||de,fe=Number(e.firstAdGrow)||1,he=Boolean(e.carousel),ve=Number(e.spaceAroundCarousel),me=Number(e.advLessWidthCarousel),ge=e.arrowsCarousel;return{bgColor:N("bgColor"),borderColor:N("borderColor"),siteBgColor:N("siteBgColor"),titleColor:N("titleColor"),textColor:N("textColor"),urlColor:N("urlColor"),urlBackgroundColor:N("urlBackgroundColor"),sitelinksColor:N("sitelinksColor"),hoverColor:N("hoverColor"),titleHoverColor:N("titleHoverColor"),backColor:N("backColor"),highlightColor:N("highlightColor"),smallImage:N("smallImage"),buttonTextColor:N("buttonTextColor"),buttonBgColor:N("buttonBgColor"),headerBgColor:N("headerBgColor"),headerFontColor:N("headerFontColor"),width:D("width"),minWidth:D("minWidth"),maxWidth:D("maxWidth"),height:D("height"),minHeight:D("minHeight"),maxHeight:D("maxHeight"),offersOnXAxis:D("offersOnXAxis"),offersOnYAxis:D("offersOnYAxis"),fontSize:L.fontSize,titleFontSize:L.titleFontSize,titleFontSizePercent:L.titleFontSizePercent,fontFamily:L.fontFamily,interscrollerBgColor:N("interscrollerBgColor"),name:d,ssrName:p,format:t,blockId:e.blockId,smallPictures:B,allowRepeatAds:x,imageWidth:D("imageWidth"),imageHeight:D("imageHeight"),enableAnimation:f,animationStep:u,animationCount:h,imagePaddingLeft:Y,domainFontSize:i,domainBgOpacity:a,titleFontSizeAbs:s,bodyFontSize:l,linkTail:v,renderLinkTail:m,favicon:g,button:_,hideAdtuneInSsp:!1,noSitelinks:b,c11n:E,imagesFirst:A,limit:I,bannerBorder:S,borderRadius:T,linksUnderline:w,adaptiveType:R,horizontalAlign:P,callouts:k,skipCyclicAnimation:M,advSpacing:j,advMinSquare:F,advMinWidth:V,advMinHeight:U,layout:H,skin:G,theme:z,clickableBackground:Z,paddingsDisabled:C,noBodyText:O,fullClickable:J,isWarningCompact:y,imagePosition:K,headerText:$,pictureFloat:Q,headerPosition:W,headerFontSize:q,imageRadius:X,fontSizeAbs:c,extendedTitleFontRange:ee,feedbackBgColor:te,fullscreen:ne,fullscreenTheme:ie,fullscreenDisableTimeout:oe,fullscreenDuration:ae,fullscreenCloseButtonVisibilityTimeout:se,floorAd:re,rewarded:ce,rewardedOverlay:le,interscroller:ue,interscrollerAnimation:pe,firstAdGrow:fe,carousel:he,arrowsCarousel:ge,spaceAroundCarousel:ve,advLessWidthCarousel:me,pcodeSettings:e.pcodeSettings,viewNotice:e.viewNotice,viewNotices:e.viewNotices,piSettings:e.piSettings,zenBulkData:e.zenBulkData,zenAdType:e.zenAdType,zenAddButton:e.zenAddButton,zenAddButtonDelay:e.zenAddButtonDelay,zenAddButtonInactiveBGColor:e.zenAddButtonInactiveBGColor,zenAddButtonBGColor:e.zenAddButtonBGColor,zenFormatPrice:e.zenFormatPrice,zenUpdateRmpDesign:e.zenUpdateRmpDesign,zen2SliderMinDiscountForDisplay:e.zen2SliderMinDiscountForDisplay,zen2MoreButtonDisabled:e.zen2MoreButtonDisabled,zen2Redesign21Q3Step2:e.zen2Redesign21Q3Step2,zen2FooterWithSharing:e.zen2FooterWithSharing,zen2FeedWithHears:e.zen2FeedWithHears,zen2FeedWithHearsRatio:e.zen2FeedWithHearsRatio,zen2ShowPrice:e.zen2ShowPrice,zen2DisableSnippet:e.zen2DisableSnippet,zen2Carousel:e.zen2Carousel,zen2CarouselItemWidthDesktop:e.zen2CarouselItemWidthDesktop,zen2CarouselItemWidthTouch:e.zen2CarouselItemWidthTouch,zen2CarouselItemMinWidthDesktop:e.zen2CarouselItemMinWidthDesktop,zen2CarouselItemMinWidthTouch:e.zen2CarouselItemMinWidthTouch,zen2CarouselItemHasText:e.zen2CarouselItemHasText,zen2CarouselImageRatio:e.zen2CarouselImageRatio,zen2DesktopSmallHeightMinWidth:e.zen2DesktopSmallHeightMinWidth,zen2PriceFontSize:e.zen2PriceFontSize,zen2TitleFontAbsFixed:e.zen2TitleFontAbsFixed,zen2ShouldUseSmartCenters:e.zen2ShouldUseSmartCenters,zen2IsHeaderRedesign:e.zen2IsHeaderRedesign,zen2LargeHeaderAvatar:e.zen2LargeHeaderAvatar,zen2ShouldUseContainEars:e.zen2ShouldUseContainEars,zen2ShowServiceIcon:e.zen2ShowServiceIcon}}t.getLimit=o,t.parseSettings=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHostInAnimationList=void 0;t.isHostInAnimationList=function(e){return!(0,n(39).isHostInList)(e,["mailRu","vk"])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectVisibilityManager=void 0;var r=function(){function e(){this.abused={}}return e.prototype.isNotConfirmed=function(t){return!e.confirmed[t]},e.prototype.confirm=function(t){e.confirmed[t]=!0},e.prototype.unConfirm=function(t){e.confirmed[t]=!1},e.prototype.confirmRtb=function(e,t,r){this.rtbVisibilityManager||(this.rtbVisibilityManager=n(1427).RtbVisibilityManager.getManager({linkTail:e.linkTail,viewNotices:r,isSendTestIds:t.isSendTestIds,activeTestIds:t.activeTestIds,testIds:t.testIds}),this.rtbVisibilityManager.confirm(t))},e.prototype.abuse=function(e){this.abused[e]=!0},e.prototype.isAbused=function(e){return Boolean(this.abused[e])},e.confirmed={},e}();t.DirectVisibilityManager=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.confirmVisibility=void 0,t.confirmVisibility=function(e){for(var t=0;t<e.length;t++)(new Image).src=e[t]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCookieHostIgnored=void 0,t.isCookieHostIgnored=function(e){return(0,n(39).isHostInList)(e,["mailRuAll"])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cookieMatching=void 0,t.cookieMatching=function(e,t){var r=(0,n(10).isArray)(e)?e:[];0!==r.length&&(0,n(672).performSafeframeTask)({name:"load_image",namespace:"pcssspb",days:6,urls:r},t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initAFPixel=void 0;t.initAFPixel=function(e){(0,n(672).performSafeframeTask)({name:"load_image",namespace:"afpix",days:1,urls:["https://ysa-static.passport.yandex.ru/static/1/d959d7e39d5067fad30d9c06204866e9/d.png?ex=yes"]},e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initRsyaTagUser=void 0;t.initRsyaTagUser=function(e){(0,n(1586).canLoadRsyaTagUser)(window)&&(0,n(672).performSafeframeTask)({name:"load_script",namespace:"pcs3",days:1,urls:["https://yastatic.net/q/set/s/rsya-tag-users/bundle.js"]},e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canLoadRsyaTagUser=void 0,t.canLoadRsyaTagUser=function(e){return!(0,n(39).isHostInList)(e,["wifi"])}},function(e,t,n){"use strict";var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n["default"]=e,t&&t.set(e,n);return n}(n(1155));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={};(0,n(81).isInIframe)(window)&&(c["target-ref"]=document.referrer);var l={off:0,disabled:1,calculation:2,enabled:3},u=(0,n(316).augment)(Object,{constructor:function(e,t){var r,i=(0,n(25).getUaasConfig)();this.isInterstitial=(0,n(1287).isNanpuInterstitial)(t),this._data=e.data,1===(null==(r=this._data.rtbAuctionInfo)?void 0:r.isInternalRequest)&&(this._rawData=n.lv["json"].stringify(e.data,null,2)),this._settings=e.settings,this._format=e.settings.format,this._visibilityManager=e.visibilityManager,this._onAdAbused=e.onAdAbused,this._product=e.product||t.product,this._uniqueId=t.uniqueId,this._statId=t.statId,this._blockId=t.blockId,this._renderTo=t.renderTo,this._pageId=t.pageId,this._pageNumber=t.pageNumber,this._clickMacro=t.clickMacro,this._isInOverlay=Boolean(t.isInOverlay),this._nonce=t.cspNonce,this._refreshed=t.refresh||!1,this._slotIndex=t.slotIndex||-1,this._isFirstClick=!0,this._containsData=t.containsData||Boolean(t.renderData),this._flags=(0,n(25).getUaasFlags)(),this._flagsMap=i.flagsMap,this._testIds=i.testIds,this._activeTestIds=this._data.common.activeTestIds||[],this._videoCallbacks=t.videoCallbacks,this._clientActiveTestIds=[],this._renderData=t.renderData,this._hasVideo=!1,this._isAdfox=t.isAdfox,this._isSspRtbCache=t.isSspRtbCache,this._isRmp=!1,(0,n(0).collectAllActiveTestIds)(this._activeTestIds),this.callOnHide=function(){(0,n(3).isFunction)(t.onHide)&&t.onHide.call(window,t.renderTo)},this._adUsageStorage=(0,n(324).getAdUsageStorage)(e),this._testtag=new(n(344).DirectTesttag),this._bannerSizes=[],this.visibilityConfirmationTimestamp=null,this._visibilitySettings=e.data.visibilitySettings||{},this.initTesttag();var o=this._getFromData("ads")||[];this.saveToDirectStorage(o),(0,n(2).forEach)(o,(function(e){e.geoDistanceRegular&&parseInt(e.geoDistanceRegular,10)>2e3&&(e.geoDistanceRegular=""),e.originalSecondTitleForCustomBlock=e.secondTitle;var t=this._format.name,r=this._isInOverlay&&"320x100"===t,i=-1!==(0,n(44).indexOf)(["vertical","horizontal","oldHorizontal","240x400"],t);!(r||i)&&(e.secondTitle=""),e.interviewData=this._getInterviewData(e),!(0,n(1328).isNewFullscreen)(this.getSettings()||{})||(0,n(1431).canUseAdtune)(window)&&!this.isFullscreen()||delete e.abuseUrl}),this),this._ads=o,this._visibilityTime=(0,n(1329).calcVisibilityTime)(this.getSettings())},isFirstClick:function(){return!!this._isFirstClick&&(this._isFirstClick=!1,!0)},getBlockId:function(){return this.getPageId()+"-"+this.getImpId()},initTesttag:function(){var e=this._format.index,t={advancedFormat:Math.floor(e/64),format:e,isApp:this.isApp(),isFullscreen:this.isFullscreen(),isFloorAd:this.isFloorAd(),isRefreshed:this.isRefreshed(),honeypot:Boolean(this.getHoneypot()),renderedBannersAmount:0,isCarousel:!1};this.setTesttagProps(t),this.setAdaptiveAdTesttagInfo()},setAdaptiveAdTesttagInfo:function(){var e=(0,n(74).getPlacement)(this.getUniqueId());if(e){var t=e.getLayoutConfig();if(t){var r=0===t.get("h")?0!==t.get("w"):t.get("h")>t.get("height");this.setTesttagProps({isAdaptiveAd:r&&!this._settings.height})}}},setTesttagProps:function(e){this._testtag.setProps(e)},getTesttagProps:function(){return this._testtag.getProps()},getTesttag:function(){return this._testtag.toString()},addBannerSize:function(e){e.adId&&this._bannerSizes.push(e)},getBannerSizes:function(){return(0,n(539).buildBannerSizes)(this._bannerSizes)},getBannerSize:function(e,t){void 0===t&&(t=!1);var r=(0,n(104).find)(this._bannerSizes,(function(t){return(null==t?void 0:t.adId)===e}));if(r)return t?r:(0,n(539).buildBannerSizes)([r])},getDesignId:function(){return this._data.common.designId},getVideoCallbacks:function(){return this._videoCallbacks},hasVideo:function(){return this._hasVideo},isInOverlay:function(){return this._isInOverlay},getVisibilityTime:function(){return this._visibilityTime},getCspNonce:function(){return this._nonce},getVisibilityConfirmationTimestamp:function(){return this.visibilityConfirmationTimestamp},setVisibilityConfirmationTimestamp:function(e){this.visibilityConfirmationTimestamp=e},_getInterviewData:function(e){void 0===e&&(e={});var t=this._settings,r=(t=void 0===t?{}:t).format,i=void 0===r?{}:r,o=e.sitelinks||[],a="theveryunusualdomain.com"===e.domain,s=((e.addInfo||{}).callouts_list||[])[0],c=(0,n(18).filter)(o,(function(e){var t=void 0===e?{}:e,n=t.title,r=t.url;return n&&r})),l=(0,n(12).map)(c,(function(e,t){var n=void 0===e?{}:e;return{text:n.title,url:n.url,isActive:parseInt(s,10)===t}}));return{defaultUrl:("-1"===s||-1===s)&&e.url?e.url:"",disclaimer:e.warning,formatName:i.name,isInterview:a,abuseUrl:e.abuseUrl,buttonText:e.title,description:e.body,items:l,dataSource:this}},_getFromData:function(e){return this._data[this._product]&&this._data[this._product][e]},prepareAd:function(e,t,i){try{var o,a=(0,n(318).extend)({},e),s=a.url;a.uniqId=(0,n(1213).genRnd)(),a.isFirst=1===i,r.isPhone&&(a.telNumOriginal=a.telNum),this._prepareCallouts(a),a.skipPictures=this._format.skipPictures||Boolean(Number(a.skipPictures)),a.isSearchPage=this.isSearchPage(),a.isCTEnabled=Boolean(Number(a.isCTEnabled)),a.images&&!a.skipPictures&&(a.image=new(n(1330))(a.images,n(1077).browser.isHDPIScreen)),a.language=this.getLanguage(),a.domain=a.domain?a.domain.replace(/^www\./,""):"",/yandex\.ru\/turbo/i.test(a.targetUrl)&&(this._settings.favicon=null),/yandex\.ru\/(web-)?maps/i.test(a.targetUrl)&&(a.domain=a.path,this._settings.favicon=null),this.isSearchPage()||(a.telNum=null,a.metro=null),"1"!=this.getLanguage()&&(delete a.address,delete a.geoDistance,delete a.geoDistanceRegular),a.address&&(a.geoDistance||a.geoDistanceRegular)?a.address=this._getFormattedAddress(a.address):a.address=null,a.geoDistance&&(a.geoDistance=(0,n(537).prettify)(a.geoDistance)),this._settings.favicon&&(a.favicon=this._getFavicon(a)),a.settings=this._settings,a.originalTitle=a.title,a.originalBody=a.body;var c=this._format.name,u=/^ssr/.test(c);this._hasVideo||!a.vast&&!a.vastBase64||(this._hasVideo=!0);var d={3600:1,7200:2}[this.useExperimentFlag("SWR_SWR")]||0,p=(null==(o=a.videoExperiments)||o.isPackshotExp,this.useExperimentFlag("FITTED_IMAGE_CSR"));this._isRmp=this.isMobileApp(a),a.bannerTesttag=new(n(546).BannerTesttag)({bannerIndex:i,hasImage:Boolean(a.images),hasCallouts:Boolean(a.callouts),hasPhone:Boolean(a.telNum),hasTitle:Boolean(a.title),hasSubtitle:Boolean(a.secondTitle),hasText:Boolean(a.body),hasDomain:Boolean(a.domain),hasFavIcon:Boolean(a.favicon),hasPrice:Boolean(a&&a.price_info&&a.price_info.price),hasStoreRating:"number"==typeof a.floatMarketRating&&a.floatMarketRating>=0,hasAddress:Boolean(a.address),hasVideo:Boolean(a.vastBase64||a.vast),hasRmpIcon:Boolean(a.addInfo&&a.addInfo.icon&&a.addInfo.icon.length),hasRmpRating:Boolean(a.addInfo&&a.addInfo.reviewCount&&a.addInfo.reviewCount>0),hasRmpPrice:Boolean(a.addInfo&&a.addInfo.price&&a.addInfo.price>0),hasRmpCall2Action:Boolean(a.addInfo&&a.addInfo.callToActionUrl),isRmp:this._isRmp,fittedImageClientExp:!u&&l.hasOwnProperty(p)?l[p]:l.off,staleWhileRevalidate:d,skipTokenSlider:this.getSkipTokenSliderExp(),hasPcodeInfo:Boolean(a.pCodeInfo)});var f=this.getAuxClickQueryParams(a,t),h=this.isMobileApp(a),v=this.isIntentLinkExp(a);return a.url=this.createLink({host:s,params:f,targetUrl:a.targetUrl,isMobileApp:h,useIntentLink:h&&v}),a.vcardUrl&&(a.vcardUrl=this.createLink({host:a.vcardUrl,params:f,targetUrl:a.targetUrl,isMobileApp:h,useIntentLink:h&&v})),a.callUrl&&(a.callUrl=this.createLink({host:a.callUrl,params:f,targetUrl:a.targetUrl,isMobileApp:h,useIntentLink:h&&v})),a.image&&!a.skipPictures&&(a.clickImageUrl=a.url),this._settings.noSitelinks||!a.sitelinks?a.sitelinks=null:a.sitelinks=this._prepareSitelinks(a.sitelinks,f,h),this.isMobileApp(a)&&this._prepareMobileApp(a,f),a.isFullscreen=this.isFullscreen(),a}catch(e){return n(15).logger.error(e,"prepareAd"),null}},createLink:function(e){var t=e.host,r=e.params,i=e.isMobileApp,o=e.useIntentLink,a=e.targetUrl,s=new(n(315).Url)({host:t,params:r});s.appendParams(c);var l=s.getUrl(),u=this._clickMacro&&(0,n(5).isString)(this._clickMacro),d=(0,n(1331).canUseClickMacro)(window)||this.isSSP();return u&&d&&(l=""+this._clickMacro+encodeURIComponent(l)),new(n(1197).TargetUrlLink)(l,a,i,o)},_getFormattedAddress:function(e){if(!e)return null;return(0,n(2).forEach)([[/,\s\u043e\u0444\u0438\u0441\s.+$/g,""],[/\u0434.\s\u0434.\s?/i,"\u0434. "],[/\u043a\u043e\u0440\u043f.\s\u043a\u043e\u0440\u043f.\s?/i,"\u043a\u043e\u0440\u043f. "],[/,{2,}/g,","],[/\.{2,}/g,"."]],(function(t){e=e.replace(t[0],t[1])})),e},_prepareCallouts:function(e){var t=this._canShowCallouts()&&e.addInfo&&"callouts"===e.addInfo.type&&(0,n(10).isArray)(e.addInfo["callouts_list"]);return e.callouts=t?(0,n(12).map)(e.addInfo["callouts_list"],n(537).prettify).slice(0,4):null,t},_canShowCallouts:function(){return this._settings.callouts},_prepareSitelinks:function(e,t,r){var i=this,o=[];return(0,n(2).forEach)(e,(function(e){if(e.title&&e.url){var n=i.createLink({host:e.url,params:t,targetUrl:e.targetUrl,isMobileApp:r,useIntentLink:r&&i.isIntentLinkExp()});o.push({title:e.title,url:n})}})),o.length?o:null},_prepareMobileApp:function(e,t){if(e.addInfo=(0,n(1432).camelizeKeys)(e.addInfo),e.addInfo.callToActionUrl=this.createLink({host:e.addInfo.callToActionUrl,params:t,targetUrl:e.targetUrl,isMobileApp:!0,useIntentLink:this.isIntentLinkExp()}),e.addInfo.price&&e.addInfo.price>0){var r=e.addInfo.price;e.addInfo.price=Number(r)>parseInt(r,10)?Number(r).toFixed(2):Number(r),"RUB"===e.addInfo.priceCurrencyCode&&(e.addInfo.priceCurrencySymbol="\u0440.")}else delete e.addInfo.price;if(e.addInfo.reviewCount=e.addInfo.reviewCount&&e.addInfo.reviewCount>0?e.addInfo.reviewCount:void 0,e.addInfo.icon&&e.addInfo.icon.length&&!e.skipPictures){var i=new(n(1330))(e.addInfo.icon,n(1077).browser.isHDPIScreen);e.hasIcon=!0,e.icon=i,e.image||(e.image=i,e.isIconIsteadOfImage=!0,e.clickImageUrl=e.url)}else e.hasIcon=!1;e.addInfo.rating=e.addInfo.rating&&e.addInfo.rating>0?e.addInfo.rating:void 0,e.addInfo.domain=e.domain,delete e.domain,e.isAppAd=!0},_getFavicon:function(e){if(e.isAppAd){if(e.skipPictures&&e.addInfo.icon&&e.addInfo.icon.length)return new(n(1330))(e.addInfo.icon,n(1077).browser.isHDPIScreen).getFitting(16,16).src}else if(e.punyDomain)return new(n(315).Url)({host:n(145).urls.favicon,path:e.punyDomain}).getUrl()},isEmpty:function(){return!(this._data.direct.ssr||this._ads&&this._ads.length)},getClickConfirmation:function(){return this._data.common.clickConfirmation},isYandexPage:function(){return"1"==this._data.common.isYandexPage},isSearchPage:function(){return"1"==this._data.common.isSearchPage},isYandex:function(){return"1"==this._data.common.isYandex},isApp:function(){return"1"==this._data.common.isMobileSdk||(0,n(26).checkBundleType)(n(26).bundleTypes.mobileSdk)},getDetailedDeviceType:function(){return this._data.common.detailedDeviceType},isMobileApp:function(e){return e.addInfo&&"mobile-app"===e.addInfo.type},isSSP:function(){var e=this._data.common.sspId;return(0,n(26).checkBundleType)(n(26).bundleTypes.SSP)||null!=e&&0!=e},isAdfox:function(){return Boolean(this._isAdfox)},isSspRtbCache:function(){return Boolean(this._isSspRtbCache)},doSortByImages:function(){return this.isYandexPage()&&Boolean(this._settings.imagesFirst)},getLinkHead:function(){return this._data.common.linkHead},getTitle:function(){var e=this._getFromData(this._product+"Title"),t=new(n(315).Url)({host:(0,n(5).isString)(e.url)?e.url:e.url.getRedirect()}).appendParams(c).getUrl();e.url=this._isOldBlock?t:new(n(1197).TargetUrlLink)(t);var r=this.getUserCurrency(),i=this.getLanguage();return e.title=(0,n(995).getTitle)(e.title,r,i),e},getUserCurrency:function(){var e=this._getFromData(this._product+"Title");return e&&e.userCurrency},getFreeAds:function(){var e=this;return(0,n(18).filter)(this._ads,(function(t){return!e._visibilityManager.isAbused(t.adId)}))},getBugData:function(){var e,t,n,r,i,o;return{meta:this._rawData,rtbBidReqID:null==(e=this._data)||null==(t=e.eventConfirmationData)?void 0:t.RtbBidReqID,hitLogId:null==(n=this._data)||null==(r=n.eventConfirmationData)?void 0:r.HitLogID,bidReqIdStr:null==(i=this._data.rtbAuctionInfo)?void 0:i.bidReqIdStr,bsGeneratedUniqID:null==(o=this._data.rtbAuctionInfo)?void 0:o.bsGeneratedUniqID}},hasShowBug:function(){var e;return 1===(null==(e=this._data.rtbAuctionInfo)?void 0:e.isInternalRequest)&&!(0,n(146).isHermione)()},releaseAd:function(e){this._adUsageStorage.release({adId:e,pageNumber:this._pageNumber,renderTo:this._renderTo})},captureAd:function(e){this._adUsageStorage.capture({adId:e,pageNumber:this._pageNumber,renderTo:this._renderTo})},saveToDirectStorage:function(e){var t=(0,n(12).map)(e,(function(e){return e.adId}));this._adUsageStorage.captureDirect(t)},getLanguage:function(){return this._data.common.pageLang||"1"},isInternalRequest:function(){var e;return 1===(null==(e=this._data.rtbAuctionInfo)?void 0:e.isInternalRequest)},_getKeyFromSettings:function(){if(this._data&&this._data.settings)for(var e in this._data.settings)if(Object.prototype.hasOwnProperty.call(this._data.settings,e))return e;return null},getPageId:function(){return this._pageId},getImpId:function(){return n(147).parseBlockId(this._blockId).impId},getProduct:function(){return this._product},getSettings:function(){var e=this._getKeyFromSettings();if(null!==e)return this._data.settings[e]},getViewNotices:function(){return(0,n(1433).getViewNotices)(this.getSettings())},getSsr:function(){return this._getFromData("ssr")},getAuxParams:function(e,t){return a({},this.getAuxClickQueryParams(e,t),{},c)},confirmVisibilityInRtb:function(e){void 0===e&&(e={});var t=this.getSettings();t&&t.linkTail&&(e.testtagProps=(0,n(318).extend)({isApp:this.isApp(),isFullscreen:this.isFullscreen()},e.testtagProps),e.formatType=this._format.index,e.actualFormat=(0,n(1326).getSsrActualFormat)(this.actualFormat,this._settings),e.testIds=this._testIds,e.activeTestIds=[].concat(this._activeTestIds,this._clientActiveTestIds),e.isSendTestIds=this.isSSP()||this.isApp(),e.bannerSizes=this.getBannerSizes(),this._visibilityManager.confirmRtb(t,e,this.getViewNotices()))},onConfirmVisibility:function(e,t){var n=this.getUnconfirmedAds(e);this.sendVisibilityConfirmation(n,t),this.rememberConfirmedAds(n)},getUnconfirmedAds:function(e){return(0,n(18).filter)(e,(function(e){return this._visibilityManager.isNotConfirmed(e.linkTail)}),this)},rememberConfirmedAds:function(e){var t=this;(0,n(2).forEach)(e,(function(e){return t._visibilityManager.confirm(e.linkTail)}))},unconfirmAds:function(e){var t=this;(0,n(2).forEach)(e,(function(e){return t._visibilityManager.unConfirm(e.linkTail)}))},sendVisibilityConfirmation:function(e,t){if((e=this.getUnconfirmedAds(e)).length){(0,n(1428).patchVisibilityConfirmationFormat)(t);var r=new(n(315).Url)({host:(0,n(539).createLinkTailUrl)(this.getLinkHead(),e),params:this.getAuxQueryParams(e,t)});r.appendParams({wmode:"0","order-banners-options":(0,n(539).buildOrderBannerOptions)(e)}),this.sendConfirm(r.getUrl(),e),this.rememberConfirmedAds(e)}},trackClick:function(e,t){var r=this,i=[e],o=t||{},a=o.isConfirmedClick,s=o.onReturnCallback;(0,n(1601).trackClick)((function(e,t){var o,c=(0,n(539).buildBannerTesttags)(i,{clickPixel:e,isConfirmedClick:Boolean(a)}),l=((o={})[n(539).BANNER_TEST_TAG_KEY]=c.toString(),o.reactionTime=t,o);s&&e===n(546).ClickPixel.RETURN&&s(t);var u=new(n(315).Url)({host:(0,n(539).createLinkTailUrl)(r.getLinkHead(),i),params:l});r.sendConfirm(u.getUrl())}))},sendConfirm:function(e,t){var r=this;(0,n(469).sendConfirm)({src:e,onError:t?function(){return r.unconfirmAds(t)}:void 0})},generateBannerTesttag:function(e,t){var r,i=(0,n(539).buildBannerTesttags)(e,t);return(r={})[n(539).BANNER_TEST_TAG_KEY]=i.toString(),r},generateActiveTestIds:function(){return(0,n(0).generateActiveTestIds)(this._activeTestIds,this._clientActiveTestIds)},setActualFormat:function(e){this.actualFormat=e},getAuxClickQueryParams:function(e,t){if(!e)return{};var r=this.getAuxQueryParams([e],t);if(null==e?void 0:e.adId){var i={"banner-sizes":this.getBannerSize(e.adId)};(0,n(318).extend)(r,i)}return r},getAuxQueryParams:function(e,t){var r;void 0===e&&(e=[]),void 0===t&&(t={});var i=t,o=i.testtagProps,s=i.bannerTesttagProps,c=i.renderSize,l=i.extParams,u=i.assetClick,d=this._bannerSizes.length,p=this._testtag.clone().setProps(a({},o,{renderedBannersAmount:d})),f=(0,n(539).buildBannerTesttags)(e,s),h=this.generateActiveTestIds(),v=this.isSSP()||this.isApp(),m=((r={"stat-id":this._statId,"test-tag":p.toString(),"banner-sizes":this.getBannerSizes(),"format-type":this._format.index,"actual-format":(0,n(1326).getSsrActualFormat)(this.actualFormat,this._settings),pcodever:(0,n(20).getCodeVersion)().toString(),"adsdk-bundle-version":(0,n(20).getVasVersion)(),"pcode-test-ids-from-count":v?this._testIds:void 0})[n(539).BANNER_TEST_TAG_KEY]=f.toString(),r);return h&&(m["pcode-active-testids"]=h),c&&(m.width=c.width,m.height=c.height),u&&(m["asset-click"]=u),a({},m,{},l)},useExperimentFlag:function(e,t){return void 0===t&&(t=!1),(0,n(0).useExperimentFlag)(e,t,this._clientActiveTestIds)},abuseAd:function(e){this._onAdAbused&&(0,n(3).isFunction)(this._onAdAbused)&&this._onAdAbused(e)},getUniqueId:function(){return this._uniqueId},getHoneypot:function(){return this._visibilitySettings.expShow||0},isFullscreen:function(){return(0,n(1246).isFullscreen)(this._settings)},isFloorAd:function(){return(0,n(1325).isFloorAd)(this._settings)},isInterscroller:function(){return Boolean(this._settings.interscroller)},getSlotIndex:function(){return this._slotIndex},isRefreshed:function(){return this._refreshed},isContainsData:function(){return this._containsData},getClickMacro:function(){return this._clickMacro},isTurboPopUpLongExp:function(e){var t=e.orderTags;return t&&t.indexOf("turbo-in-banner")>-1&&n(97).isMobile?2:0},getSkipTokenSliderExp:function(){var e=this._flags&&this._flags.SKIP_TOKEN_SLIDER;return this._format.name.toLowerCase().indexOf("carousel")>-1&&e?n(1434).skipTokenSliderValues[e]:n(1434).skipTokenSliderValues.miss},getIsRmp:function(){return this._isRmp},isIntentLinkExp:function(){var e=this._flags&&this._flags.PP_INTENT_URL,t=this._format.name.toLowerCase().replace("ssr",""),n=navigator.userAgent||"";return"exp"===e&&("postervertical"===t||"posterhorizontal"===t||"adaptive"===t)&&/Android/.test(n)&&/SamsungBrowser|OPR|YaBrowser|Firefox/.test(n)}});e.exports=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isOpera=void 0;t.isOpera=function(e){return void 0===e&&(e=window),e.navigator.userAgent.indexOf("Opera")>-1||e.navigator.userAgent.indexOf("OPR")>-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSafariVersion=void 0,t.getSafariVersion=function(e){if(void 0===e&&(e=window),n(1284).isSafari&&e.navigator&&e.navigator.userAgent){var t=e.navigator.userAgent.match(/version\/(\d+)/i);if(t){var r=Number(t[1]);if(r)return r}}return-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIOSVersion=void 0,t.getIOSVersion=function(e){if(void 0===e&&(e=window),(0,n(185).getIsIOS)(e)&&e.navigator){var t=e.navigator.platform;if(t&&/iP(hone|od|ad)/.test(t)){var r=e.navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);if(r)return parseInt(r[1],10)}}return-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPhone=void 0;t.isPhone=function(e){return void 0===e&&(e=window),(0,n(1592).getIsIphone)(e)||(0,n(675).getIfIsAndroid)(e)&&(0,n(184).getUserAgent)(e).toLowerCase().indexOf("mobile")>-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsIphone=void 0;t.getIsIphone=function(e){return void 0===e&&(e=window),(0,n(185).getIsIOS)(e)&&(0,n(184).getUserAgent)(e).toLowerCase().indexOf("iphone")>-1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHDPIScreen=void 0;t.isHDPIScreen=function(e){return void 0===e&&(e=window),(0,n(188).getPixelRatio)(e)>1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBrowserName=void 0;t.getBrowserName=function(e){void 0===e&&(e=window);var t=(0,n(184).getUserAgent)(e),r=t.match(/(opera|chrome|safari|firefox|ucbrowser|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if(/trident/i.test(r[1]))return"MSIE";if("Chrome"===r[1]){var i=t.match(/\b(OPR|Edge|YaBrowser)\/(\d+)/);if(null!==i)return i[1].replace("OPR","Opera")}return r[1]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsPostMessageSupported=void 0;t.getIsPostMessageSupported=function(e){return void 0===e&&(e=window),(0,n(3).isFunction)(e.postMessage)&&-1===(0,n(131).getInternetExplorerVersion)(e)&&!(0,n(663).isOperaMini)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VisibilityChecker=t.DefaultStrategy=void 0,Object.defineProperty(t,"DefaultStrategy",{enumerable:!0,get:function(){return n(473).GeneralStrategy}}),t.VisibilityChecker=(0,n(1597).createVCClass)(n(473).GeneralStrategy.factory)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createVCClass=void 0;t.createVCClass=function(e){return function(t,r,i){void 0===i&&(i={});var o=(0,n(541).visibilityObserver)(e,i),a=n(4).noop;this.start=function(){a(),a=o(t,r)},this.stop=function(){a()},i.disableAutoStart||this.start()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasImportantFlag=t.getBorderColor=t.getBgColor=void 0;var r=[255,247,240,231,221,210,194,174,144,112,80,35,0],i=[255,222,190,165,139,118,102,86,75,70,68,66,64];t.getBgColor=function(e){for(var t=(0,n(182).createColor)(e),o=t.getAverage(),a=t.toRgbArray(),s=1;o<r[s];)s++;var c=r[s],l=i[s],u=(l+1*(o-c)/(r[s-1]-c)*(i[s-1]-l))/255,d=1-u,p=255*u;return(0,n(182).createColor)([Math.round(a[0]*d+p),Math.round(a[1]*d+p),Math.round(a[2]*d+p)]).toString()};t.getBorderColor=function(e,t,r){var i=(0,n(182).createColor)(e).toRgbArray(),o=(0,n(182).createColor)(t).toRgbArray();return r=parseFloat(r),r=isNaN(r)?.85:r,(0,n(182).createColor)([Math.round(i[0]*r+o[0]*(1-r)),Math.round(i[1]*r+o[1]*(1-r)),Math.round(i[2]*r+o[2]*(1-r))]).toString()},Object.defineProperty(t,"hasImportantFlag",{enumerable:!0,get:function(){return n(651).hasImportantFlag}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapObjectValues=void 0,t.mapObjectValues=function(e,t){var r={};return(0,n(32).getObjectKeys)(e).forEach((function(n){r[n]=t(e[n],n)})),r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterObject=void 0,t.filterObject=function(e,t){var r={};return(0,n(32).getObjectKeys)(e).forEach((function(n){t(e[n],n)&&(r[n]=e[n])})),r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackClick=void 0,Object.defineProperty(t,"trackClick",{enumerable:!0,get:function(){return n(1602).trackClick}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackClick=t.createTrackClick=void 0;t.createTrackClick=function(e){return function(t){e(!1,3e4,(function(r){t(n(546).ClickPixel.TRANSITION,r),e(!0,24e4,(function(e){t(n(546).ClickPixel.RETURN,e)}))}))}},t.trackClick=(0,t.createTrackClick)(n(1603).waitVisibility)},function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.waitVisibility=t.createWaitVisibility=void 0;var a=o(n(645));t.createWaitVisibility=function(e){return function(t,r,i){var o=new Date,a=(0,n(24).on)(document,e.changeEventName,(function(){e.isHidden()!==t&&((0,n(24).un)(a),clearTimeout(s),i(Number(new Date)-Number(o)))})),s=setTimeout((function(){(0,n(24).un)(a)}),r)}},t.waitVisibility=(0,t.createWaitVisibility)(a)},function(e,t,n){"use strict";var r={"1024x768":"480x320","768x1024":"320x480"};e.exports=function(e){var t=e.width+"x"+e.height;return r[t]||t}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i=n(327).BlockTypes,o=[{id:0,name:"unknown"},{id:1,name:"flat",fixed:!1,type:i.VERTICAL,limit:4,border:[!1,!0],useElasticPicture:!0},{id:2,name:i.HORIZONTAL,fixed:!1,type:i.HORIZONTAL,limit:6,border:[!1,!0]},{id:3,name:"160x600",fixed:!0,type:i.VERTICAL,limit:5,border:[!1,!0]},{id:4,name:"240x400",single:!0,fixed:!0,type:i.VERTICAL,limit:1,border:[!1,!0]},{id:5,name:"200x300",fixed:!0,type:i.VERTICAL,limit:3,border:[!1,!0]},{id:6,name:"300x300",fixed:!0,type:i.VERTICAL,limit:4,border:[!1,!0]},{id:7,name:"300x250",fixed:!0,type:i.VERTICAL,limit:2,border:[!1,!0]},{id:8,name:"250x250",fixed:!0,type:i.VERTICAL,limit:3,border:[!1,!0]},{id:9,name:"728x90",single:!0,fixed:!0,type:i.HORIZONTAL,limit:1,border:[!1,!0]},{id:10,name:"1000x120",fixed:!0,type:i.HORIZONTAL,limit:4,border:[!1,!0]},{id:11,name:i.VERTICAL,fixed:!1,type:i.VERTICAL,border:[!1,!0],useElasticPicture:!0},{id:12,name:"mobile",className:i.VERTICAL,fixed:!1,type:i.VERTICAL,limit:1,border:[!1,!0]},{id:13,name:"ssrFullscreen",type:i.SSR,border:[]},{id:14,name:"ssr-320x50",type:i.SSR,border:[]},{id:15,name:"320x50",fixed:!0,type:i.HORIZONTAL,limit:1,skipWarnings:!0,border:[!1,!0]},{id:16,name:"ssrSmartTile",type:i.SSR,border:[]},{id:17,name:"posterVertical",type:i.VERTICAL,border:[!0]},{id:18,name:"newPosterVertical",type:i.VERTICAL,border:[!0]},{id:19,name:"newPosterHorizontal",type:i.HORIZONTAL,limit:9,border:[!0]},{id:20,name:"ssrAdaptiveConstructor",type:i.SSR,border:[]},{id:21,name:"ssrHorizontalSD",type:i.SSR,border:[]},{id:22,name:"posterHorizontal",type:i.HORIZONTAL,limit:9,border:[!0]},{id:23,name:"320x100",fixed:!0,type:i.HORIZONTAL},{id:24,name:"adaptive",fixed:!0,type:i.FIXED,border:[!1,!0],useElasticPicture:!0},{id:25,name:"400x240",fixed:!0,type:i.FIXED},{id:26,name:"ssrAdaptiveCarousel"},{id:27,name:"0x50"},{id:28,name:"320x480",fixed:!0,type:i.VERTICAL,limit:1,border:[!1,!0]},{id:29,name:"480x320",fixed:!0,type:i.HORIZONTAL},{id:30,name:"newVk"},{id:31,name:"336x280",fixed:!0,type:i.VERTICAL},{id:32,name:"728x90-design",fixed:!0,type:i.HORIZONTAL,limit:1,border:[!1,!0]},{id:33,name:"300x600",limit:1,border:[!1,!0]},{id:34,name:"300x500",limit:1,border:[!1,!0]},{id:35,name:"970x250",fixed:!0,type:i.FIXED},{id:36,name:"970x90",fixed:!0,type:i.FIXED},{id:37,name:"0x90",limit:1,border:[!1,!0]},{id:38,name:"0x90-gismeteo"},{id:39,name:"newVertical"},{id:40,name:"newHorizontal"},{id:41,name:"newGrid"},{id:42,name:"newAdaptive"},{id:43,name:"extensibleMobile"},{id:44,name:"ssrGrid",type:i.SSR,border:[]},{id:45,name:"ssrNewVertical",type:i.SSR,border:[]},{id:46,name:"oldVertical"},{id:47,name:"oldHorizontal",type:i.HORIZONTAL,limit:4,showLogoOnTop:!0,border:[!1,!0]},{id:48,name:"0x90-yanews",limit:1,border:[!1]},{id:49,name:"posterVerticalYanews"},{id:50,name:"yaVertical",type:i.VERTICAL,showLogoOnTop:!0,border:[!1,!0]},{id:51,name:"yaPogodaHorizontal3",fixed:!1,type:i.VERTICAL,border:[!1],showLogoOnTop:!0},{id:52,name:"yaPogodaHorizontal4",fixed:!1,type:i.VERTICAL,border:[!1],showLogoOnTop:!0},{id:53,name:"yaPogodaGrid",fixed:!1,type:i.VERTICAL,border:[!1],showLogoOnTop:!0},{id:54,name:"modernAdaptive",fixed:!1,border:[!1,!0]},{id:55,name:"mordaApp"},{id:56,name:"avitoVertical"},{id:57,name:"yaMobileMailTop"},{id:58,name:"yaMobileMailMiddle"},{id:59,name:"rmpVideo"},{id:60,name:"mailruPlugin"},{id:61,name:"animatedScrollableMobile",limit:4,border:[!1,!0]},{id:62,name:"pictureSearch"},{id:63,name:"customBlock",fixed:!0,type:"custom",limit:9,border:[!1,!0]},{id:64,name:"pictureSearch3"},{id:65,name:"zen"},{id:66,name:"responsiveMobile"},{id:67,name:"320x67"},{id:68,name:"relapIo"},{id:69,name:"recommendation"},{id:70,name:"plista"},{id:71,name:"motion",limit:1,border:[!1]},{id:72,name:"oldPosterHorizontal",type:i.HORIZONTAL,limit:4,border:[!0]},{id:73,name:"oldPosterVertical",type:i.VERTICAL,border:[!0]},{id:74,name:"newRow"},{id:75,name:"oldMotion"},{id:76,name:"horizontal0318",fixed:!1,type:i.HORIZONTAL,border:[!0]},{id:77,name:"adaptive0418",border:[!1,!0]},{id:78,name:"scrollSlider"},{id:79,name:"media"},{id:80,name:"multiInterstitial"},{id:81,name:"vertical0318",fixed:!1,type:i.VERTICAL,border:[!0]},{id:82,name:"rowMailRu"},{id:83,name:"rowMailRuOctavius"},{id:84,name:"mailruVertical2"},{id:85,name:"mailruHorizontal2"},{id:86,name:"posterVertical2"},{id:87,name:"posterHorizontal2"},{id:88,name:"simple"},{id:89,name:"billboard",limit:1,type:i.HORIZONTAL,border:[!1,!0]},{id:90,name:"zenCarousel"},{id:91,name:"posterCarousel"},{id:92,name:"ssrPoster"},{id:93,name:i.SSR,type:i.SSR,border:[]},{id:94,name:"ssrPosterVertical",type:i.SSR,border:[]},{id:95,name:"ssrPosterHorizontal",type:i.SSR,border:[]},{id:96,name:"ssrBillboard",type:i.SSR,border:[]},{id:97,name:"ssrMotion",type:i.SSR,border:[]},{id:98,name:"ssr-300x300",type:i.SSR,border:[]},{id:99,name:"ssrZen",type:i.SSR,border:[]},{id:100,name:"ssr-970x90",type:i.SSR,border:[]},{id:101,name:"ssr-728x90",type:i.SSR,border:[]},{id:102,name:"ssr-320x100",type:i.SSR,border:[]},{id:103,name:"ssr-200x300",type:i.SSR,border:[]},{id:104,name:"ssr-160x600",type:i.SSR,border:[]},{id:105,name:"ssr-240x400",type:i.SSR,border:[]},{id:106,name:"ssr-1000x120",type:i.SSR,border:[]},{id:107,name:"ssr-300x250",type:i.SSR,border:[]},{id:108,name:"ssr-300x600",type:i.SSR,border:[]},{id:109,name:"ssr-336x280",type:i.SSR,border:[]},{id:110,name:"ssr-970x250",type:i.SSR,border:[]},{id:111,name:"ssr-300x500",type:i.SSR,border:[]},{id:112,name:"ssr-250x250",type:i.SSR,border:[]},{id:113,name:"ssr-480x320",type:i.SSR,border:[]},{id:114,name:"ssr-400x240",type:i.SSR,border:[]},{id:115,name:"ssrZen2",type:i.SSR,border:[]},{id:116,name:"ssrZen2Gallery",type:i.SSR,border:[]},{id:117,name:"ssrAdaptive",type:i.SSR,border:[]},{id:118,name:"ssrAdaptive0418",type:i.SSR,border:[]},{id:119,name:"ssrModernAdaptive",type:i.SSR,border:[]},{id:120,name:"ssrOldPosterVertical",type:i.SSR,border:[]},{id:121,name:"ssrOldPosterHorizontal",type:i.SSR,border:[]},{id:122,name:"ssrPosterVertical2",type:i.SSR,border:[]},{id:123,name:"ssrPosterHorizontal2",type:i.SSR,border:[]},{id:124,name:"ssrHorizontal",type:i.SSR,border:[]},{id:125,name:"ssrHorizontal0318",type:i.SSR,border:[]},{id:126,name:"ssrVertical",type:i.SSR,border:[]},{id:127,name:"ssrPosterCarousel"}];if("undefined"!=typeof window)for(var a=n(1253).adaptive0418Blocks,s=0;s<o.length;s++){var c=o[s],l=c.name;if(l in a)r(c,{limit:a[l].limit,border:[!1,!0]})}e.exports=o},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}for(var o,a=function(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}((0,n(32).getObjectKeys)(n(1253).adaptive0418Blocks));!(o=a()).done;){var s=o.value,c=n(1253).adaptive0418Blocks[s],l=(c.limit,r(c,["limit"]));n(1333).ASSOCIATED_BLOCKS[s]=[n(1334).ADAPTIVE_0418,l]}var u=(0,n(316).augment)(Object,{constructor:function(e,t,r,i,o,a,s,c){var l=this;void 0===s&&(s={}),this.formatName=t.format.name;var u=this.formatName;t.format.type===n(327).BlockTypes.SSR&&(u=n(327).BlockTypes.SSR);var d=n(1333).ASSOCIATED_BLOCKS[u][1];this.dataSource=e,this._renderToNode=(0,n(1151).getContainer)(n(1077).dom.querySelector("#"+r),o),this.renderTo=r;var p={blockId:i,blockName:u,blockSettings:d,isTurbo:window.YA_TURBO_PAGES},f=(0,n(1607).switchFormat)(p,e,t),h=f.selectedBlock;d=f.newBlockSettings;var v=h.isOld;this.dataSource.setActualFormat(h.id);var m=(0,n(1608).getBlockModule)(h),g=m.async,_=m.module;var y=[];g&&y.push(_);var b=e.isFullscreen();if(b&&!(0,n(191).canShowFullscreen)(window)){var C="Fullscreen is forbidden on non-mobile devices",O=(0,n(74).getPlacement)(c);return null==O||O.callbacks.triggerError("DESKTOP_FULLSCREEN",C),void n(15).logger.error(new Error(C))}if((0,n(1328).isNewFullscreen)(t)?(g||y.push(_),y.push(n(190).loadNewFullscreenController)):b&&(g||y.push(_),y.push(n(1335).loadFullscreenController)),e.isFloorAd()){if(!n(97).isMobile){var E="FloorAd is forbidden on non-mobile devices",A=(0,n(74).getPlacement)(c);return null==A||A.callbacks.triggerError("DESKTOP_FLOOR_AD",E),void n(15).logger.error(new Error(E))}g||y.push(_),y.push(n(1336).loadFloorAdController)}e.isInterscroller()&&(g||y.push(_),y.push(n(1337).loadInterscrollerController)),this._isAsync=Boolean(y.length),this.isOldBlock=v,(0,n(27).setMark)(e.getUniqueId(),n(27).RenderMarks.DepsLoadStart),this._isAsync?this.block=new(n(1614).AsyncBlock)({dependencies:y,isOld:v,blockId:i,blockName:u,renderToNode:this._renderToNode,renderTo:r,dataSource:e,settings:(0,n(318).extend)(t,d),nonce:o,pageNumber:a,renderParams:s,encodeStyles:!0}):_((function(c){l.block=l.isOldBlock?new c(e,t,r,i,o,a,s):new c({blockId:i,blockName:u,renderToNode:l._renderToNode,renderTo:r,dataSource:e,settings:(0,n(318).extend)(t,d),nonce:o,pageNumber:a,renderParams:s,encodeStyles:!0})}))},getRealBlock:function(e){this._isAsync?this.block.getRealBlock((function(t){return e(t)})):e(this.block)},confirmVisibility:function(){this.block.confirmVisibility()},destructor:function(){this.block.destroy?this.block.destroy():this.block.destructor(),(0,n(27).clearMarks)(this.dataSource.getUniqueId())},render:function(e){this.dataSource.isInterstitial&&(0,n(1287).initMraidCloseButton)(this.dataSource.getSettings()),this._isAsync?this.block.renderTo(this._renderToNode,e):(this.isOldBlock?this.block.render():this.block.renderToContainer(this._renderToNode),e())},getMainCont:function(){return this._renderToNode},getDataSource:function(){return this.dataSource},getUsedAdvs:function(){return this.block.getUsedAdvs()},isInViewport:function(){return this.block.isInViewport()},isVisible:function(){return this.block.isVisible()},isVisibilityConfirmed:function(){return this.block.isVisibilityConfirmed()},slideUp:function(){var e;return(e=this.block).slideUp.apply(e,arguments)},getTesttag:function(){return this.dataSource.getTesttag()}});e.exports=u},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.switchFormat=void 0;var i=n(1334).ADAPTIVE_0418;t.switchFormat=function(e,t){var o=e.blockName,a=e.blockSettings,s=n(1333).ASSOCIATED_BLOCKS[o][0],c=r({},a);switch(o in n(1253).adaptive0418Blocks?"":o){case"320x480":t.isSSP()&&(s=i)}return{selectedBlock:s,newBlockSettings:c}}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockModule=t.loadBlockSet=void 0;var i,o={},a={},s=!1;function c(e){void 0===e&&(e="advmanager");var t=e;i||(i=new(n(105).Deferred)).promise.then((function(){s=!0}));var r=o[t];return r||(r=new Promise((function(e){n(1609)[t]((function(t){(0,n(19).forOwn)(t,l),e(),i.resolve()}),(function(e){n(15).logger.error(e,"block-set_load_error")}))})),o[t]=r),i.promise}function l(e,t,i){var o=a[t],s=i[t];o?o.async&&!s.async&&(a[t].async=s.async,a[t].module=s.module):(a[t]=r({},s),s.async&&(a[t].module=function(e){s.module((function(n){a[t].async=!1,a[t].module=function(e){e(n)},e(n)}),(function(e){n(15).logger.error(e,"block-module_load_error")}))}))}function u(e){var t=a[e];return{name:e,async:t.async,module:t.module}}t.loadBlockSet=c,t.getBlockModule=function(e){var t=e.name;return s?u(t):(i||c(),{name:t,async:!0,module:function(e){i.promise.then((function(){u(t).module(e)}))}})}},function(e,t,n){e.exports={advmanager:n(1610)}},function(e,t,n){e.exports=function(e,t){Promise.resolve().then(function(){e(n(1738))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(28).then(function(){if(i=n(1827),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(27).then(function(){if(i=n(1838),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(32).then(function(){if(i=n(1846),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncBlock=void 0;var r=n(2),i=n(4),o=n(1615),a=n(15),s=n(1616),c=n(1246),l=n(1320),u=n(1328),d=function(){function e(e){var t=this,n=e.dependencies,i=e.isOld,s=void 0!==i&&i,d=e.dataSource,p=e.settings,f=e.blockId,h=e.nonce,v=e.pageNumber,m=e.renderParams,g=e.renderTo;this.callbacks=[],this.settings=p,this.isOldBlock=s;var _=this.getAdsByLimit(d.getFreeAds());1===d.getSkipTokenSliderExp()?d.captureAd(_[0].adId):(0,r.forEach)(_,(function(e){return d.captureAd(e.adId)})),this.ads=_,(0,o.loadDependencies)(n).then((function(n){var i=n[0],o=n[1];if((0,r.forEach)(_,(function(e){return d.releaseAd(e.adId)})),o)if(d.isInterscroller()){var a=document.getElementById(g),s=o;s.validateSlot(a)&&(t.interscrollerSlot=s.createSlot({node:a,bgColor:p.interscrollerBgColor,animated:p.interscrollerAnimation}),s.prepareInterscrollerOptions(d,a,t.settings),g=t.interscrollerSlot.nodeId,e.renderToNode=t.interscrollerSlot.node)}else if(d.isFloorAd())t.floorAdSlot=o.createSlot({dataSource:d,settings:p,renderTo:g}),t.floorAdSlot.onClose=function(){t.destroy()},g=t.floorAdSlot.nodeId,e.renderToNode=t.floorAdSlot.node,e.onClose=t.floorAdSlot.close;else if((0,u.isNewFullscreen)(p))t.fullscreenSlot=o.createSlot(d,{closeButtonTimeout:t.settings.fullscreenDisableTimeout?0:(0,c.getFullscreenSettings)(p).duration,theme:(0,l.getFullscreenTheme)(p)}),g=t.fullscreenSlot.nodeId,e.renderToNode=t.fullscreenSlot.node;else{var y=(0,c.getFullscreenSettings)(t.settings);t.fullscreenSlot=o.createSlot({closeButtonVisibilityTimeout:y.closeButtonVisibilityTimeout,isRtb:!1}),g=t.fullscreenSlot.nodeId,e.renderToNode=t.fullscreenSlot.node}t.block=t.isOldBlock?new i(d,p,g,f,h,v,m,e.onClose):new i(e),t.layout=t.block.layout,(0,r.forEach)(t.callbacks,(function(e){return e()})),t.callbacks=[]}))["catch"]((function(e){return a.logger.error(e,"Bundle loading error")}))}return e.prototype.getRealBlock=function(e){var t=this;this.block?e(this.block):this.callbacks.push((function(){return e(t.block)}))},e.prototype.renderToContainer=function(e){this.renderTo(e)},e.prototype.renderTo=function(e,t){var n=this;void 0===t&&(t=function(){}),this.block?this.renderBlock(e,t):this.callbacks.push((function(){n.renderBlock(e,t)}))},e.prototype.initVisibilityChecker=function(){var e=this;this.block?this.block.initVisibilityChecker():this.callbacks.push((function(){return e.block&&e.block.initVisibilityChecker()}))},e.prototype.destructor=function(){this.destroy()},e.prototype.slideUp=function(e){this.block&&this.block.slideUp(e)},e.prototype.destroy=function(){var e=this,t=this.fullscreenSlot,n=this.floorAdSlot;t?t.close():n?n.close():this.block?this.destroyBlock(this.block):this.callbacks.push((function(){return e.destroyBlock(e.block)}))},e.prototype.getUsedAdvs=function(){return this.block?this.block.getUsedAdvs():this.ads||[]},e.prototype.isInViewport=function(){return!!this.block&&this.block.isInViewport()},e.prototype.isVisible=function(){return!!this.block&&this.block.isVisible()},e.prototype.isVisibilityConfirmed=function(){return!!this.block&&this.block.isVisibilityConfirmed()},e.prototype.getAdsByLimit=function(e){return e.slice(0,this.settings.limit)},e.prototype.renderBlock=function(e,t){var n=this,r=this.fullscreenSlot,o=this.interscrollerSlot,a=this.floorAdSlot;if(r){var l=(0,c.getFullscreenSettings)(this.settings),d=t,p=i.noop;e=r.node,r.onShow=function(){p=(0,s.addFullscreenListeners)(r.node),(0,u.isNewFullscreen)(n.settings)||r.startCountdown(l.duration,(function(){r.close()}))},r.onClose=function(){n.block&&(p(),n.destroyBlock(n.block))},t=function(){r.show(),d()}}if(o&&(e=o.node),a){var f=t;e=a.node,t=function(){a.show(),f()}}this.isOldBlock&&this.block&&this.block.render?this.block.render():this.block.renderToContainer(e),t()},e.prototype.destroyBlock=function(e){e&&(e.destroy?e.destroy():e.destructor&&e.destructor(),this.interscrollerSlot&&this.interscrollerSlot.destroy(),delete this.block)},e}();t.AsyncBlock=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadDependencies=void 0,t.loadDependencies=function(e){if(0===e.length)return Promise.resolve([]);for(var t=[],n=function(n){var r=e[n],i=new Promise((function(e,t){r((function(t){return e(t)}),t)}));t.push(i)},r=0;r<e.length;r++)n(r);return Promise.all(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addFullscreenListeners=void 0;var r=["click","mousedown","mouseup","touchstart","touchend"];t.addFullscreenListeners=function(e){var t=Date.now(),i=[];return function(e,t,i){for(var o=0,a=r;o<a.length;o++){var s=a[o],c=(0,n(24).on)(e,s,(function(e){Date.now()-t<1e3&&(e.stopPropagation(),e.preventDefault())}),void 0,{capture:!0,passive:!1});i.push(c)}}(e,t,i),function(){for(var e=0,t=i;e<t.length;e++){var r=t[e];(0,n(24).un)(r)}}}},function(e,t,n){"use strict";e.exports=function(e,t,r){var i,o=this,a=e.rtb;a&&!a.vastBase64&&Boolean(a.video)&&(a.vastBase64=a.video);var s={};this.sendVisibilityConfirmation=function(e){s[e]||((0,n(469).sendConfirm)({src:e,onError:function(){s[e]=void 0}}),s[e]=!0)},this.getSmartCreativeBlockSettings=function(){return(0,n(1618).getSmartCreativeSettings)(e)},this.getSettings=function(){return t||{}},this._onAdAbused=null,this._clientActiveTestIds=[],this.setAbuseHandler=function(e){this._onAdAbused=e},this.abuseAd=function(e){this._onAdAbused&&(0,n(3).isFunction)(this._onAdAbused)&&this._onAdAbused(e)},this.getSize=function(){var t=e.rtb||{},r=t.width,i=t.height;if(!t.html&&(0,n(1436).isAdaptiveSmartFormat)(t.format)){var o=(0,n(1436).calculateBlockSizeFromMeta)(t);if(o)return[o.width,o.height]}return[0==r?"100%":r,i]},this.getBugData=function(){var t,r,i,o;return{meta:this.hasShowBug?n.lv["json"].stringify(e,null,2):"",hitLogId:null==e||null==(t=e.eventConfirmationData)?void 0:t.HitLogID,rtbBidReqId:null==e||null==(r=e.eventConfirmationData)?void 0:r.RtbBidReqID,bidReqIdStr:null==e||null==(i=e.rtbAuctionInfo)?void 0:i.bidReqIdStr,bsGeneratedUniqID:null==e||null==(o=e.rtbAuctionInfo)?void 0:o.bsGeneratedUniqID}},this.hasShowBug=function(){var t;return 1===(null==e||null==(t=e.rtbAuctionInfo)?void 0:t.isInternalRequest)&&!(0,n(146).isHermione)()},this.getUrl=function(){return e.rtb&&e.rtb.url},this.isSsrSmartBanner=function(){return e&&e.rtb&&e.rtb.isSmartBanner},this.getDspName=function(){return e&&e.rtb&&e.rtb.publicTitle},this.isSmartBanner=function(){return Boolean(e&&e.rtb&&e.rtb.format)},this.getOptionalDisclaimer=function(){if(this.isSmartBanner()&&e&&e.rtb)return e.rtb.optionalDisclaimer?e.rtb.optionalDisclaimer:(0,n(1628).getOptionalDisclaimer)(e.rtb.data)},this.getCopyLink=function(){var t;if(null==e?void 0:e.rtb)return this.isSmartBanner()?e.rtb.copyLink?e.rtb.copyLink:(0,n(1629).getCopyLink)(e.rtb.data):null==(t=e.rtb)?void 0:t.buttonClick},this.getSmartBannerMeta=function(){return e&&e.rtb&&e.rtb.meta||{}},this.getHtml=function(){var t=e.rtb||{};if(t.isSmartBanner&&t.html)return e.rtb.html;if(t.format&&!t.html){var r=t.format;return(0,n(727).getClientHTML)(t.data,r)}return!i&&t.html&&(i=this.useExperimentFlag("DISABLE_BASE64_MEDIA")&&/^</.test(t.html.trim())?t.html:(0,n(21).decode)(t.html)),i},this.isSSR=function(){return e.rtb&&e.rtb.is_ssr},this.getSSR=function(){return e.rtb&&e.rtb.ssr||{}},this.isApp=function(){return e.common&&"1"==e.common.isMobileSdk||(0,n(26).checkBundleType)(n(26).bundleTypes.mobileSdk)},this.getLinkTail=function(){return this.getSettings().linkTail},this.getViewNotices=function(){return(0,n(1433).getViewNotices)(this.getSettings())},this.getWinNotice=function(){var e=this.getSettings().winNotice;return new(n(315).Url)({host:e}).getUrl()},this.getLanguage=function(){return e.common&&e.common.pageLang||"1"},this.isInternalRequest=function(){var t;return 1===(null==e||null==(t=e.rtbAuctionInfo)?void 0:t.isInternalRequest)},this.isSSP=function(){var t=e.common&&e.common.sspId;return(0,n(26).checkBundleType)(n(26).bundleTypes.SSP)||null!=t&&0!=t},this.getSSPId=function(){var t=null;return e.common&&e.common.sspId&&(t=e.common.sspId),t},r.clickMacro&&(0,n(5).isString)(r.clickMacro)&&!t.clickMacro&&((0,n(1331).canUseClickMacro)(window)||this.isSSP())&&(t.clickMacro=r.clickMacro),this.getAbuseUrl=function(){return r.isInOverlay?null:e.rtb&&e.rtb.abuseLink},this.getUniqueId=function(){return r.uniqueId},this._visibilityTime=(0,n(1329).calcVisibilityTime)(this.getSettings()),this.loadHtml=function(){var e=this;return new Promise((function(t,o){(0,n(76).logSSPEvent)("SSP_RTB_CACHE_FF_REQUEST",r.data),(0,n(235).request)({url:e.getUrl(),method:"get",retries:0,withCredentials:!1,onSuccess:function(e){(0,n(76).logSSPEvent)("SSP_RTB_CACHE_REQUEST_FF_SUCCESS",r.data),i=e.response,t()},onError:function(){return o()}})}))},this.getVisibilityTime=function(){return this._visibilityTime},this.getHoneypot=function(){var t=e.visibilitySettings;return t&&t.expShow||0},this.getBasePath=function(){return this.isHTML5()?e.rtb&&e.rtb.basePath:null},this.isMediaAdaptive=function(){var e=this.getSize();return!(e[0]&&e[1])},this.isInterstitial=(0,n(1287).isNanpuInterstitial)(r),this.getPosterSrc=function(){return e.rtb&&e.rtb.posterSrc},this.isHTML5=function(){return Boolean(e.rtb&&e.rtb.html5)},this.getMediaTesttag=function(){var t,r=e.rtb,i=e.common;if(((null==r?void 0:r.is_ssr)||(null==r?void 0:r.html))&&!(null==r?void 0:r.isSmartBanner)&&(r.html5?t="media-banner_theme-html5":i&&i.mediaBundleName&&(t=i.mediaBundleName),t)){var o=new(n(1630).MediaTesttag);return o.setProps({theme:(0,n(1438).getTheme)(t),format:(0,n(1438).getFormat)(r.width,r.height)}),o.toString()}},this.needLoadingSSP=function(){return e.rtb&&!e.rtb.html&&this.getUrl()&&((0,n(26).checkBundleType)(n(26).bundleTypes.SSP)&&this.isHTML5()||this.isInlineSSP())},this.isInlineSSP=function(){return(0,n(26).checkBundleType)(n(26).bundleTypes.SSP)&&Boolean(r.sspInline)},this.isFullscreen=function(){return(0,n(1246).isFullscreen)(this.getSettings())},this.isFloorAd=function(){return(0,n(1325).isFloorAd)(this.getSettings())},this.isInterscroller=function(){return Boolean(this.getSettings().interscroller)},this.getSlotIndex=function(){return r.slotIndex},this.isRefreshed=function(){return r.refresh||!1},this.getRewardedCallback=function(){return r.onRewarded},this.getOpenCallback=function(){return r.onOpen},this.getCloseCallback=function(){return r.onClose},this.getHideCallback=function(){return r.onHide},this.getVideoCallbacks=function(){if(r.videoCallbacks)return{onAdStart:r.videoCallbacks.onAdStart,onAdEnd:r.videoCallbacks.onAdEnd,onVideoInit:r.videoCallbacks.onVideoInit||void 0}},this.getSsrTimings=function(){return e.rtb.timings},this.isContainsData=function(){return r.containsData||Boolean(r.renderData)},this.isRenderData=function(){return Boolean(r.renderData)},this.useExperimentFlag=function(e,t){return void 0===t&&(t=!1),(0,n(0).useExperimentFlag)(e,t,o._clientActiveTestIds)},this.generateActiveTestIds=function(){return(0,n(0).generateActiveTestIds)(e.common&&e.common.activeTestIds,o._clientActiveTestIds)},this.getPageId=function(){return(0,n(554).parseBlockId)(o.getSettings().blockId).pageId},this.getImpId=function(){return(0,n(554).parseBlockId)(o.getSettings().blockId).impId},this.getDomain=function(){return e.rtb.domain},this.getPunyDomain=function(){return e.rtb.punyDomain},this.getButtonUrl=function(){return e.rtb.buttonUrl||e.rtb.buttonClick},this.getFormat=function(){return e.rtb.format||(0,n(1439).getFormatName)(t)},this.getClickConfirmation=function(){var t;return null==(t=e.common)?void 0:t.clickConfirmation},this.isYandex=function(){return"1"==e.common.isYandex},this.isSocialAd=function(){var t,r;return(0,n(320).hasSocialAdvertisingFlag)(e.rtb.bannerFlags||(null==(t=e.rtb.data_params)||null==(r=t.text)?void 0:r.bannerFlags))},this.getRawData=function(){return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSmartCreativeSettings=void 0,t.getSmartCreativeSettings=function(e){void 0===e&&(e={});var t=e.settings||{},n=Object.keys(t)[0],r=(n?t[n]:{}).enableAnimation;return{enableAnimation:void 0===r||r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closest=void 0;var r=function(e,t){return Math.abs(e-t)};t.closest=function(e,t,n){return void 0===n&&(n=r),t.length>0?t.reduce((function(t,r){return n(r,e)<n(t,e)?r:t})):void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canRenderInBlock=void 0;t.canRenderInBlock=function(e,t){var n=t.offersCount;return!(e.width>=900&&n<2||e.width<=200&&e.height>=600&&n<3)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canRenderInBlock=void 0;t.canRenderInBlock=function(){return!0}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.makeBannerProps=void 0;var o=n(2),a=n(1623),s=n(12),c=n(32),l=n(49),u=n(18),d=n(660),p=i(n(1437)),f=n(1624),h=n(1626),v=n(1627),m=n(1338),g=["spec","logo","misc","unmoderated"],_=["small","big","huge","hugeX","hugeXX","orig"],y=function(e){return(0,u.filter)((null==e?void 0:e.split(";"))||[],(function(e){return Boolean(e)}))},b=function(e){return(0,s.map)(y(e),(function(e){return"#".concat(e)}))},C=function(e,t,n){var r,i;if(void 0===n&&(n=h.tag),e){var o=(0,f.addTestTag)(e,n);return(null===(r=t.misc)||void 0===r?void 0:r.link_head)?(null===(i=t.misc)||void 0===i?void 0:i.link_head)+o:o}},O=function(e){var t;return e.metro?e.metro_time_on_foot?"".concat(e.metro,", ").concat(e.metro_time_on_foot," ").concat((0,v.i18n)("banner","minute"),"  ").concat((0,v.i18n)("banner","foot")):e.metro_time_on_transport?"".concat(e.metro,", ").concat(e.metro_time_on_transport," ").concat((0,v.i18n)("banner","minute")," ").concat((0,v.i18n)("banner","transport")):e.metro:null!==(t=e.address)&&void 0!==t?t:""};t.makeBannerProps=function(e,t){var n,i,E,A,I,S,T,w,R,P,k,M,L,N,D,B=(0,m.normalizeCreativeParams)(e.metaData),x=null!==(i=null===(n=null==B?void 0:B.AUCTION_DC_PARAMS)||void 0===n?void 0:n.data_params)&&void 0!==i?i:{},j=function(e,t,n){void 0===n&&(n=h.tag);var i=t.MAX_SHOW_ITEMS,a=t.SHUFFLE,m=i>0?i:1/0,E=[],A=(0,v.i18n)("banner","priceFromTo");return(0,o.forEach)((0,c.getObjectKeys)(e),(function(i){var o,a,c;if(!(0,l.includes)(g,i)){var h=e[i],v=h.text,I=Number(null===(o=h.price)||void 0===o?void 0:o.current)||0,S=Number(null===(a=h.price)||void 0===a?void 0:a.old)||0,T=Math.round((S-I)/S*100),w=(0,d.deleteUndefinedProperties)(r(r({},v),{id:i,adId:i,url:(0,f.addTestTag)(h.click_url.text_name,n),clickUrls:(0,f.addTestTag)(h.click_url,n),count:C(h.count,e,n),price:I,priceOld:I>=S||0===S?void 0:S,discount:0===S||T>=95||T<5?0:T,currencyCode:"RUR"===(null==v?void 0:v.currency_iso_code)?"RUB":null==v?void 0:v.currency_iso_code,position:parseInt(null===(c=h.unmoderated)||void 0===c?void 0:c.position,10)||0,body:(null==v?void 0:v.body)?(0,p["default"])(null==v?void 0:v.body):void 0,title:(null==v?void 0:v.title)?(0,p["default"])(null==v?void 0:v.title):void 0,warning:(null==v?void 0:v.warning)?(0,p["default"])(null==v?void 0:v.warning):void 0,age:(null==v?void 0:v.age)&&parseInt(v.age,10)>0?parseInt(null==v?void 0:v.age,10)+"+":void 0,sizes:y(null==v?void 0:v.sizes),consist:y(null==v?void 0:v.consist),facilities:y(null==v?void 0:v.facilities),colors:b(null==v?void 0:v.colors),metroColors:b(null==v?void 0:v.metro_colors),metroOrAddress:O(v),locationAndSublocation:(null==v?void 0:v.sub_location)&&(null==v?void 0:v.location)?"".concat(v.location,", ").concat(v.sub_location):(null==v?void 0:v.sub_location)||(null==v?void 0:v.location),images:(0,u.filter)((0,s.map)(_,(function(e){var t,n,r,i,o=(null==h?void 0:h.image[e])||(null==h?void 0:h.image["".concat(e,"_1")]);return o?{size:e,width:o.width,height:o.height,url:o.url,"smart-center":o["smart-center"]?{x:Number(null===(t=o["smart-center"])||void 0===t?void 0:t.x)||0,y:Number(null===(n=o["smart-center"])||void 0===n?void 0:n.y)||0,w:Number(null===(r=o["smart-center"])||void 0===r?void 0:r.w),h:Number(null===(i=o["smart-center"])||void 0===i?void 0:i.h)}:void 0,"smart-centers":(0,s.map)(o["smart-centers"]||[],(function(e){return{x:Number(null==e?void 0:e.x),y:Number(null==e?void 0:e.y),w:Number(null==e?void 0:e.w),h:Number(null==e?void 0:e.h)}}))}:null})),(function(e){return null!==e})),settings:{offerPriceFromTo:t.OFFER_PRICE_FROM_TO,offerPricePrefix:A&&t.OFFER_PRICE_FROM_TO&&A[t.OFFER_PRICE_FROM_TO]?A[t.OFFER_PRICE_FROM_TO]+" ":""}}));E.length<m&&E.push(w)}})),E.sort((function(e,t){return a?1-2*Math.random():e.position&&t.position?e.position-t.position:0}))}(x,B,t);return{blockWidth:e.blockWidth,blockHeight:e.blockHeight,enableAnimation:e.enableAnimation,offersOnXAxis:Number(B.OFFERS_ON_X_AXIS||2),offersOnYAxis:Number(B.OFFERS_ON_Y_AXIS||1),carousel:{delay:B.CAROUSEL_AUTO_INTERVAL||3,enabled:!B.ALLOW_ONLY_ONE_OFFER},mosaic:{delay:B.MOSAIC_AUTO_INTERVAL||3,enabled:!B.ALLOW_ONLY_ONE_OFFER},warningFlag:(0,a.getMediaSmartWarningFlag)(B),logo:{href:(0,f.addTestTag)(null===(A=null===(E=j[0])||void 0===E?void 0:E.clickUrls)||void 0===A?void 0:A.price_current,t),count:C(null===(I=x.logo)||void 0===I?void 0:I.count,x,t),punyDomain:null===(T=null===(S=x.logo)||void 0===S?void 0:S.unmoderated)||void 0===T?void 0:T.punyDomain,domain:null!==(P=null===(R=null===(w=x.logo)||void 0===w?void 0:w.unmoderated)||void 0===R?void 0:R.domain)&&void 0!==P?P:null===(M=null===(k=x.logo)||void 0===k?void 0:k.unmoderated)||void 0===M?void 0:M.punyDomain,image:(null===(D=null===(N=null===(L=x.logo)||void 0===L?void 0:L.image)||void 0===N?void 0:N.logo)||void 0===D?void 0:D.url)?{width:Number(B["LOGO.Width"])||0,height:Number(B["LOGO.Height"])||0,url:x.logo.image.logo.url}:void 0},offers:j}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMediaSmartWarningFlag=t.getWarningFlag=void 0;var r=n(58),i=n(44),o=n(2),a=n(49),s=n(32),c=n(320),l=["spec","logo","misc","unmoderated"],u=["medication",c.MEDICINE_FLAG],d=["dietary_supplement",c.DIETARY_SUPPLEMENT_FLAG];t.getWarningFlag=function(e){void 0===e&&(e="");var t=(0,c.getBannerFlags)(e),n=(0,r.some)(t,(function(e){return(0,i.indexOf)(u,e)>-1})),o=(0,r.some)(t,(function(e){return(0,i.indexOf)(d,e)>-1}));return n?c.MEDICINE_FLAG:o?c.DIETARY_SUPPLEMENT_FLAG:void 0};t.getMediaSmartWarningFlag=function(e){var n,r,i=null!==(r=null===(n=null==e?void 0:e.AUCTION_DC_PARAMS)||void 0===n?void 0:n.data_params)&&void 0!==r?r:{},u=(0,c.getBannerFlags)(e.SMART_PHARM_DISCLAIMER_TYPE);return(0,o.forEach)((0,s.getObjectKeys)(i),(function(e){var t;if(!(0,a.includes)(l,e)){var n=i[e];(null===(t=null==n?void 0:n.unmoderated)||void 0===t?void 0:t.bannerFlags)&&u.push.apply(u,(0,c.getBannerFlags)(n.unmoderated.bannerFlags))}})),(0,t.getWarningFlag)(u.join(","))}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getSerializedTesttag=t.addTestTag=t.getTheme=t.TesttagName=t.getFormat=t.FORMATS=void 0;var i=n(1625);t.FORMATS={"240x400":1,"240x600":2,"300x250":3,"300x500":4,"300x600":5,"728x90":6,"970x250":7,"1000x120":8,motion:9,video:10};var o;t.getFormat=function(e,n){return t.FORMATS["".concat(e,"x").concat(n)]||0},function(e){e["VIDEO"]="video-test-tag",e["MEDIA"]="media-test-tag"}(o=t.TesttagName||(t.TesttagName={}));var a={"smart-banner_theme_auto":1,"smart-banner_theme_auto-accordion":2,"smart-banner_theme_auto-static-accordion":3,"smart-banner_theme_avia":4,"smart-banner_theme_big-image":5,"smart-banner_theme_dzen":6,"smart-banner_theme_dzen-text":7,"smart-banner_theme_hover":8,"smart-banner_theme_mobile":9,"smart-banner_theme_mobile-tap":10,"smart-banner_theme_mosaic":11,"smart-banner_theme_multiple":13,"smart-banner_theme_normal":14,"smart-banner_theme_realty":15,"smart-banner_theme_travel":16,"video-banner_theme_caucasus":17,"video-banner_motion":18,"video-banner_theme_moroz":19,"video-banner_theme_lake":20,"video-banner_theme_empty":21,"video-banner_motion-rmp":22,"video-banner_theme_zen":23,"video-banner_theme_video-smart":24,"video-banner_theme_string":25,"video-banner_theme_interstitial":26,"video-banner_theme_premium":27,"video-banner_motion_3":28,"video-banner_theme_audio":29,"video-banner_theme_rmp":30,"smart-banner-adaptive_v1":31,"media-banner_theme_big-pic-button_v_2":32,"media-banner_theme_divided_v_1":33,"media-banner_theme_divided_v_2":34,"media-banner_theme_gif_v_1":35,"media-banner_theme_gif_v_2":36,"media-banner_theme_metro_v_2":37,"media-banner_theme_pic-button-color-background_v_1":38,"media-banner_theme_pic-button-color-background_v_2":39,"media-banner_theme_speedy_v_1":40,"media-banner_theme_speedy_v_2":41,"media-banner_theme_twin_v_1":42,"media-banner_theme_twin_v_2":43,"media-banner_theme_wine-adaptive_v_1":44,"media-banner_theme_wine-adaptive_v_2":45,"media-banner_theme_wine-adaptive_v_3":46,"media-banner_theme_wine_v_1":47,"media-banner_theme_wine_v_2":48,"media-banner_theme_big-pic-button_v_1":49,"smart-banner_theme_clothes":50,"media-banner":51,"smart-banner-mosaic_v1":52,"media-image":53};function s(e){return String(e.serialize())}t.getTheme=function(e){return a[e]||0},t.addTestTag=function(e,t,n){if(void 0===n&&(n=o.MEDIA),!t)return e;var a=s(t);if("string"==typeof e)return(0,i.serverAddParamToUrl)(e,n,a);var c=r({},e);return Object.keys(c).forEach((function(e){c[e]=(0,i.serverAddParamToUrl)(c[e],n,a)})),c},t.getSerializedTesttag=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.serverAddParamToUrl=void 0,t.serverAddParamToUrl=function(e,t,n){return void 0===n?e:(t=encodeURIComponent(t),n=encodeURIComponent(n),"".concat(e).concat(-1===e.indexOf("?")?"?":"&").concat(t,"=").concat(n))}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.tag=t.TestTagPerformance=t.MAX_VERSION_VALUE=void 0;var o=n(91);t.MAX_VERSION_VALUE=1024;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.defaults=function(){return{marker:3}},t.prototype.getTemplate=function(){return[[4,"marker"],[6,"theme"],[6,"format"],[1,"adblock"],[4,null],[3,"creativeType"],[10,"pcodeVer"],[5,"offersCount"],[12,null],[2,"isSSR"]]},t}(o.AbstractTesttag);t.TestTagPerformance=a,t.tag=new a},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.__esModule=!0,t.i18n=void 0;var i="ru",o={},a=function(e,t){return((o[i]||{})[e]||{})[t]};t.i18n=a,a.lang=function(e){return i=e||i},a.decl=function(e,t,n){void 0===n&&(n={});var a=n.lang||i;o[a]=o[a]||{};var s=o[a]||{};s[e]=s[e]||{};var c=s[e]||{},l=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}(t),u={};l.forEach((function(e){return u[e]=t[e]})),o[a][e]=r({},c,u)}},function(e,t,n){"use strict";var r=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},i=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getOptionalDisclaimer=t.getCombinedDisclaimer=void 0;var o=n(1338),a=n(100),s=n(338),c=n(59),l=n(2),u=n(32),d=n(49),p=i(n(1437)),f=["spec","logo","misc","unmoderated"];function h(e,t){if((0,a.every)(e,(function(e){return(0,s.endsWith)(e,". \u041f\u0440\u043e\u0435\u043a\u0442\u043d\u0430\u044f \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043d\u0430\u0448.\u0434\u043e\u043c.\u0440\u0444")}))&&e.length>1){var n=e.map((function(e){return e.replace(". \u041f\u0440\u043e\u0435\u043a\u0442\u043d\u0430\u044f \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043d\u0430\u0448.\u0434\u043e\u043c.\u0440\u0444","")}));return r([t],(0,c.unique)(n),!0).filter(Boolean).join("; ")+". \u041f\u0440\u043e\u0435\u043a\u0442\u043d\u0430\u044f \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043d\u0430\u0448.\u0434\u043e\u043c.\u0440\u0444"}return r([t],(0,c.unique)(e),!0).filter(Boolean).join("; ")}t.getCombinedDisclaimer=h,t.getOptionalDisclaimer=function(e){var t,n,r,i,a=(0,o.normalizeCreativeParams)(e),s=null!==(n=null===(t=null==a?void 0:a.AUCTION_DC_PARAMS)||void 0===t?void 0:t.data_params)&&void 0!==n?n:{},c=[];return(0,l.forEach)((0,u.getObjectKeys)(s),(function(e){if(!(0,d.includes)(f,e)){var t=s[e].text;(null==t?void 0:t.warning)&&c.push((0,p["default"])(null==t?void 0:t.warning))}})),h(c,(null===(i=null===(r=s.logo)||void 0===r?void 0:r.text)||void 0===i?void 0:i.legal)||"")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCopyLink=void 0;var r=n(1338),i=n(32);t.getCopyLink=function(e){var t,n,o,a=(0,r.normalizeCreativeParams)(e),s=null!==(n=null===(t=null==a?void 0:a.AUCTION_DC_PARAMS)||void 0===t?void 0:t.data_params)&&void 0!==n?n:{};return null===(o=s[(0,i.getObjectKeys)(s)[0]])||void 0===o?void 0:o.count}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.MediaTesttag=void 0;var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.defaults=function(){return{marker:n(82).PRODUCT_MARKERS.PERFORMANCE,pcodeVer:(0,n(20).getRevisionNo)(),adblock:!1,creativeType:0}},t.prototype.getTemplate=function(){return[[4,"marker"],[6,"theme"],[6,"format"],[1,"adblock"],[4,null],[3,"creativeType"],[10,"pcodeVer"],[5,null],[10,"version"],[2,null],[2,null]]},t}(n(91).AbstractTesttag);t.MediaTesttag=o},function(e,t,n){"use strict";var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}n["default"]=e,t&&t.set(e,n);return n}(n(147));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){this._uniqueId=e.uniqueId,this._data=e.data||{},this._isAlternativeCode=Boolean(this._data&&this._data.rtb&&this._data.rtb.debug),this.dataSource=e.dataSource,this.blockId=e.blockId,this._pageNumber=e.pageNumber,this._renderTo=e.renderTo,this._visibilityManager=e.visibilityManager,this._nonce=e.nonce,this._onHide=e.onHide,this._onRenderCallback=e.onRender,this._nativeAdditionalClasses=e.nativeAdditionalClasses,this._darkTheme=e.darkTheme,this._mainContId="ya_partner_"+this.blockId+(e.pageNumber?"-"+e.pageNumber:""),this.uniqueId=e.uniqueId,this.visibilitySignal=new(n(540).ValueSignal)(!1),this._adUsageStorage=e.adUsageStorage,this._visibilityConfirmed=!1,this._measurersInitialized=!1,this._protected=this.dataSource.isHTML5(),this._basePath=this._data.rtb&&this._data.rtb.basePath,this._isFullscreen=this.dataSource.isFullscreen(),this._isFloorAd=this.dataSource.isFloorAd(),this._isInterscroller=this.dataSource.isInterscroller(),this._innerComponents=[],this._stopIframeWindowChecking=null,this._reportingEventEmitterDestructor=null,e.renderParams&&(this._confirmAtOnce=e.renderParams.confirmAtOnce,this._horizontalAlign=e.renderParams.horizontalAlign),this._testtag=new(n(334).RtbTesttag)({isApp:this.dataSource.isApp(),honeypot:Boolean(this.dataSource.getHoneypot())})}s.prototype={render:function(e){var t=this;if(this._isFullscreen&&!(0,n(191).canShowFullscreen)(window)){var r="Fullscreen is forbidden on non-mobile devices",i=(0,n(74).getPlacement)(this._uniqueId);return null==i||i.callbacks.triggerError("DESKTOP_FULLSCREEN",r),void n(15).logger.error(new Error(r))}var o=this.dataSource.getSettings(),a="nativeDesign"===o.name||"grid"===o.name;this._horizontalAlign=this._horizontalAlign||o.horizontalAlign;this._container=(0,n(1151).getContainer)(e,this._nonce,a||!1),"modernAdaptive"===o.name&&(this._horizontalAlign=!0),this.dataSource.isInterstitial&&(0,n(1287).initMraidCloseButton)(this.dataSource.getSettings());var s=[];if(!o.displayDelayed||this._isFullscreen||this._isInterscroller||s.push(this._renderOnVisible()),this._isFullscreen&&s.push(n(1335).loadFullscreenController),this._isInterscroller&&s.push(n(1337).loadInterscrollerController),this._isFloorAd){if(!n(97).isMobile){var c="FloorAd is forbidden on non-mobile devices",l=(0,n(74).getPlacement)(this._uniqueId);return null==l||l.callbacks.triggerError("DESKTOP_FLOOR_AD",c),void n(15).logger.error(new Error(c))}s.push(n(1336).loadFloorAdController)}this.dataSource.needLoadingSSP()&&s.push(this.dataSource.loadHtml());var u=function(){t._renderBlock()};s.length?Promise.all(s).then(u)["catch"]((function(e){n(15).logger.error(e,"RtbBlock_render_async")})):u()},_renderOnVisible:function(){var e=this;return new Promise((function(t){var r=(0,n(7).protect)(n(7).ProtectedNames.RTB+" container visible",(function(){t()}));e._containerVisibilityConfirmer=new(n(538).VisibilityConfirmer)({element:e._container,portion:0,confirmations:[{delay:0,onConfirm:r}]})}))},destructor:function(){var e=this.fullscreenSlot;e&&(delete e.onClose,e.close());var t=this.interscrollerSlot;t&&t.destroy(),this._clearComponents(),this._containerVisibilityConfirmer&&this._containerVisibilityConfirmer.stop(),this._contentVisibilityChecker&&this._contentVisibilityChecker.stop(),this._visibilityConfirmer&&this._visibilityConfirmer.stop(),this._stopIframeWindowChecking&&(this._stopIframeWindowChecking(),this._stopIframeWindowChecking=null),this._reportingEventEmitterDestructor&&this._reportingEventEmitterDestructor(),this._measurersInitialized&&((0,n(712).destroyMeasurers)(this._mainContId),this._measurersInitialized=!1)},_clearComponents:function(){(0,n(2).forEach)(this._innerComponents,(function(e){e.destructor?e.destructor():e.destroy&&e.destroy()})),this._innerComponents=[]},_renderBlock:function(){if(this._isInPage())try{this.renderInPage(this._container)}catch(e){throw n(15).logger.error(e,"RENDER_INPAGE_ERROR"),e}else this._isWidget()?this.renderWidget():this.dataSource.isInlineSSP()?this.renderInline():this.renderBlock()},renderBlock:function(){var e=this,t=this.dataSource.getSettings();this._isFullscreen?(0,n(190).loadNewFullscreenController)((function(r){var i=r.createSlot(e.dataSource,{closeButtonTimeout:(0,n(1246).getFullscreenSettings)(t).duration,theme:"black"});i.onClose=function(){e._onClose()},e._container=i.node,e.fullscreenSlot=i,e.renderBanner()})):this._isInterscroller?(0,n(1337).loadInterscrollerController)((function(n){var r=t.interscrollerAnimation,i=void 0===r||r;e.interscrollerSlot=n.createSlot({node:e._container,mediaSize:e.dataSource.getSize(),bgColor:t.interscrollerBgColor,animated:i}),e._container=e.interscrollerSlot.node,e.renderBanner()})):this._isFloorAd?(0,n(1336).loadFloorAdController)((function(r){var i=(0,n(74).getPlacement)(e._uniqueId);e.floorAdSlot=r.createSlot({renderTo:i.renderTo,dataSource:e.dataSource,settings:t}),e.floorAdSlot.onClose=function(){e._onClose()},e._container=e.floorAdSlot.node,e.renderBanner()})):this.renderBanner()},renderInPage:function(){var e=this,t=this._data.rtb,i=t.vastBase64,s=t.vast,c=t.data_params,l=t.ssr;if(l){var u=this.dataSource.getSettings(),d=u.width,p=u.height,f=u.adsdkPlayer,h=u.rewarded;f&&(delete f.insertAfter,delete f.insertPosition);var v,m,g={vastBase64:i,vast:s,width:d,height:p,uniqueId:this._uniqueId,blockId:this.blockId,renderToNode:this._container,nonce:this._nonce,backgroundScale:[1,-1],encodeStyles:!0,settings:this.dataSource.getSettings(),horizontalAlign:this._horizontalAlign,onAdInit:function(t){return e._onRender(t)},playerConfig:f,onRewarded:this.dataSource.getRewardedCallback(),onHide:this.dataSource.getHideCallback(),videoCallbacks:this.dataSource.getVideoCallbacks(),dataSource:this.dataSource,dataParams:c,isVisible:function(){return e.isVisible()},renderId:r.getRenderId({blockId:this.blockId,pageNumber:this._pageNumber,renderTo:this._container})},_="zen"===this.dataSource.getSettings().videoInComboDesign,y=this._isFullscreen&&!h&&(0,n(1632).isVideoInComboDesignFullscreenFlagEnable)(),b=this._isFullscreen&&h&&(0,n(1633).isVideoInComboDesignFullscreenRewardedFlagEnable)(),C=(0,n(1246).getFullscreenSettings)(u).closeButtonVisibilityTimeout,O=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},g,{ssr:l});y?m=(0,n(1634).loadClientCodeDesignFullscreen)():_?m=(0,n(1636).loadClientCodeDesignZen)():b?(O.isFullscreenRewarded=!0,O.closeButtonVisibilityTimeout=C,O.fullscreenDuration=Number(u.fullscreenDuration),m=(0,n(1440).loadClientCodeDesignDefault)()):m=(0,n(1440).loadClientCodeDesignDefault)(),m.then((function(t){var n=t&&t.VideoInComboController;n&&(v=new n(O),e._innerComponents.push(v),e._onRenderCallbackCall())}))["catch"]((function(t){n(15).logger.error(t,t.name||"VIDEO_IN_COMBO_ERROR_TO_LOAD_SPLIT_CHUNK",{isZenComboVideo:_,isVideoInComboFullscreen:y,isVideoInComboFullscreenRewarded:b,isRewarded:h,isFullscreen:e._isFullscreen})}))}else n(15).logger.logVasEvent({dataParams:c,csrReason:this._data.common&&this._data.common.csrReason,vast:Boolean(s),vastBase64:Boolean(i)},"INPAGE_NOT_SSRED")},renderWidget:function(){var e=this,t=this._data,r=t.seatbid,i=t.settings,o=t.common,a=t.rtbAuctionInfo,s=function(){e._visibilityConfirmed=!0},c={blockId:this.blockId,renderTo:this._renderTo,data:{seatbid:r,settings:i,common:o,rtbAuctionInfo:a},nonce:this._nonce,onRenderCallback:function(){e._createVisibilityConfirmation(e._container,s),e._onRenderCallbackCall(),e._sendAdbConfirmEvent()},onHide:this._onHide,adUsageStorage:this._adUsageStorage,pageNumber:this._pageNumber,additionalClasses:this._nativeAdditionalClasses,darkTheme:this._darkTheme,uniqueId:this.uniqueId,dataSource:this.dataSource},l=new(n(1639).WidgetNative)(c);this._innerComponents.push(l)},renderInline:function(){var e=this,t=this.getBasePath(),r=this.dataSource.getSize(),i=(0,n(1641).renderRtbInline)(this._container,{html:this.dataSource.getHtml(),basePath:t,id:this._mainContId,dataSource:this.dataSource,nonce:this._nonce,width:r[0],height:r[1],encodeStyles:!0,onError:function(t){t.stack=e.dataSource.getUrl()+" :: "+t.stack,n(15).logger.error(t,"SSPInlineError"),e._contentVisibilityChecker&&e._contentVisibilityChecker.stop()},onAdtuneClose:function(t){var n;t&&(null==(n=e.floorAdSlot)||null==n.close||n.close())}});this.afterRender(document.body),this._onRender(document.body),this._innerComponents.push(i),this._onRenderCallbackCall()},renderBanner:function(){var e=this,t=this.getUrl(),r=this.getBasePath(),i=(0,n(1646).renderRtbBanner)(this._container,{encodeStyles:!0,id:this._mainContId,renderToNode:this._container,nonce:this._nonce,visibilitySignal:this.visibilitySignal,url:t,html:this.dataSource.getHtml(),basePath:r,protect:this._protected,dataSource:this.dataSource,testtag:this._testtag,alternativeCode:this._isAlternativeCode,horizontalAlign:this._horizontalAlign,ssr:this.dataSource.isSSR(),isSocialAdvertising:(0,n(320).hasSocialAdvertisingFlag)(this.dataSource.getSettings().bannerFlags),onReady:function(){e.afterRender()},onRender:function(){e._onRender()},onError:function(t,r,i,o){n(15).logger.error(t,r||t.name||"UnknownRtbBlockError",i,o),e._contentVisibilityChecker&&e._contentVisibilityChecker.stop(),e._visibilityConfirmed=!0},onAdtuneClose:function(t){var n;t&&(null==(n=e.floorAdSlot)||null==n.close||n.close())}},this._nonce);this._innerComponents.push(i),this.floorAdSlot&&this.floorAdSlot.show(),this._onRenderCallbackCall()},initMovementChecking:function(e,t){var n=e.contentWindow,r=function(){return clearInterval(i)},i=setInterval((function(){n&&e.contentWindow&&n!==e.contentWindow&&(r(),t())}),150);return r},afterRender:function(e){void 0===e&&(e=this._container),this._createVisibilityChecker(e),this._visibilityManager.sendWinNotice()},getUrl:function(){var e=this.dataSource.getUrl();if(e){var t={};n(38).urlCodeVersions.media&&(t.mcodever=n(38).urlCodeVersions.media);var r=e;return 0===r.indexOf("//")&&(r=window.location.protocol+e),new(n(315).Url)({host:r,params:(0,n(318).extend)({click_macro:this.dataSource.getSettings().clickMacro},t)}).getUrl()}},getBasePath:function(){var e={click_macro:this.dataSource.getSettings().clickMacro,ssp_id:this.dataSource.getSSPId()};n(38).urlCodeVersions.media&&(e.mcodever=n(38).urlCodeVersions.media);var t=window.location.host;return new(n(315).Url)({host:this._protected&&this._basePath?this._basePath:"https://"+t,params:e}).getUrl()},_initVisibilityConfirmation:function(e){void 0===e&&(e=this._container),this._visibilityManager._isConfirmSent?this._visibilityConfirmed=!0:this._createVisibilityConfirmation(e)},_createVisibilityConfirmation:function(e,t){var r=(0,n(1151).getVisibilityContainer)(e),i=(0,n(7).protect)("visibility confirmer: rtb",(t||this.confirmVisibility).bind(this,r)),o=this.dataSource.getSettings().reach;this._visibilityConfirmer=(0,n(654).createBlockVisibilityConfirmer)({element:r,autostart:!0,trackings:this.dataSource&&this.dataSource.getSettings(),delay:this.dataSource?this.dataSource.getVisibilityTime():void 0,onVisible:i,confirmOnHover:!o}),this._confirmAtOnce&&(this._visibilityConfirmed=!0,this._visibilityConfirmer.confirm())},_createVisibilityChecker:function(e){var t=this.dataSource.isInlineSSP();this._contentVisibilityChecker=new(n(538).VisibilityConfirmer)({portion:0,element:e,onVisibilityChange:function(r){try{var i=n.lv["json"].stringify({action:"pcode:"+(r?"visible":"invisible")});if(t)window.postMessage(i,"*");else{var o=n(1077).dom.querySelector("iframe",e);o&&o[0]&&o[0].contentWindow&&o[0].contentWindow.postMessage(i,"*")}}catch(e){0}}})},confirmVisibility:function(e,t,r){this._visibilityConfirmed=!0,this._visibilityManager.confirm({testtagProps:this._testtag.getProps(),renderSize:this.getBlockSize(),extParams:{confirmTime:t,confirmRatio:(0,n(1145).getVisibilityRatio)(e)}},r),this.dataSource.isRenderData()?(0,n(76).logSSPEvent)("SSP_EXP_VISIBILITY_CONFIRM_RTB",this._data):this.dataSource.isSSP()&&(0,n(76).logSSPEvent)("SSP_CTRL_VISIBILITY_CONFIRM_RTB",this._data),this.visibilitySignal.dispatch(!0)},isVisibilityConfirmed:function(){return this._visibilityConfirmed},isInViewport:function(){return!!n(1077).dom.querySelector("#"+this._mainContId)&&(0,n(544).isInViewport)(this._container,n(145).REFRESH_VIEWPORT_VISIBLE_PART)},isVisible:function(){return!!this._visibilityConfirmer&&this._visibilityConfirmer.getIsVisible()},_isInPage:function(){var e=this._data.rtb,t=(e=void 0===e?{}:e).vastBase64,n=e.vast;return Boolean(t||n)},_isWidget:function(){var e=this._data.seatbid;return Boolean(e)},getRtbData:function(){return this._data.rtb},slideUp:function(e){(0,n(1092).slideUp)(this._container,e)},getBlockSize:function(){return(0,n(471).getElementRectSize)(this._container)},getTesttag:function(){return this._testtag.toString()},_onRender:function(e){var t=this;void 0===e&&(e=this._container),this._initVisibilityConfirmation(e),this._initMeasurers(e.children[0]||e);var r=this.fullscreenSlot,i=this.floorAdSlot;r&&r.show(),i&&i.show();var o=this._container.querySelector("iframe");if(o&&(this._stopIframeWindowChecking||(this._stopIframeWindowChecking=this.initMovementChecking(o,(function(){t._stopIframeWindowChecking=null,t.destructor();t.render(t._container)}))),!o.src)){var a=this.dataSource.getSettings();this._reportingEventEmitterDestructor=(0,n(1445).createReportingEventEmitter)({window:o.contentWindow,params:{bannerIds:a.bannerIds}})}this._sendAdbConfirmEvent()},_onRenderCallbackCall:function(){this._onRenderCallback()},_initMeasurers:function(e){if(!this._measurersInitialized){var t=this.dataSource.getSettings().measurers||{};(0,n(712).measureBlock)({id:this._mainContId,container:e,nonce:this._nonce,config:t}),this._measurersInitialized=!0}},_onClose:function(){this.dataSource.getCloseCallback()(),delete this.fullscreenSlot,this.destructor()},_sendAdbConfirmEvent:function(){}},e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVideoInComboDesignFullscreenFlagEnable=void 0;var r=n(39),i=n(0);t.isVideoInComboDesignFullscreenFlagEnable=function(){return"exp"===(0,i.useExperimentFlag)("VIDEO_IN_COMBO_FULLSCREEN")||(0,r.isHostInList)(window,["pi"])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVideoInComboDesignFullscreenRewardedFlagEnable=void 0;var r=n(39),i=n(0);t.isVideoInComboDesignFullscreenRewardedFlagEnable=function(){return"exp"===(0,i.useExperimentFlag)("VIDEO_IN_COMBO_REWARDED_FULLSCREEN")||(0,r.isHostInList)(window,["pi"])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadClientCodeDesignFullscreen=void 0;t.loadClientCodeDesignFullscreen=function(){return new Promise((function(e,t){n(1635)((function(t){e(t)}),(function(e){return t(e)}))}))}},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(47).then(function(){if(i=n(1849),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadClientCodeDesignZen=void 0;t.loadClientCodeDesignZen=function(){return new Promise((function(e,t){n(1637)((function(t){e(t)}),(function(e){return t(e)}))}))}},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(48).then(function(){if(i=n(1852),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(46).then(function(){if(i=n(1861),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.WidgetNative=void 0;var o=n(281),a=n(544),s=n(645),c=n(122),l=n(74),u=n(1199),d=n(27),p=n(15),f=n(246),h=n(199),v=n(556),m=n(629),g=n(2),_=n(12),y=n(18),b=n(14),C=n(62),O=n(1640);var E=function(e){function t(t){var n=e.call(this,t)||this,r=t.uniqueId,i=t.renderTo,o=t.adUsageStorage,a=t.data;return n.doOnDestroy((function(){return(0,d.clearMarks)(r)})),(0,g.forEach)(function(e){var t,n=null===(t=(e.seatbid||[])[0])||void 0===t?void 0:t.bid,r=(0,_.map)(n||[],(function(e){var t,n,r;return null===(r=null===(n=null===(t=null==e?void 0:e.adm)||void 0===t?void 0:t["native"])||void 0===n?void 0:n.ext)||void 0===r?void 0:r.adId}));return(0,y.filter)(r,(function(e){return Boolean(e)}))}(a),(function(e){var r={adId:e,renderTo:t.renderTo.replace("#","")};o.capture(r),n.doOnDestroy((function(){return o.release(r)}))})),(0,d.setMark)(r,d.RenderMarks.DepsLoadStart),O((function(e){n.doOnDestroy((function(){return e.manager.clearBlock(i)})),(0,d.setMark)(r,d.RenderMarks.ReadyForRendering),e.manager.create(n.prepareWidgetRenderParams()).then((function(){return n.onRender()}))["catch"]((function(e){var t=(0,l.getPlacement)(n.props.uniqueId);null==t||t.callbacks.triggerAltCallback(e)}))}),(function(e){p.logger.error(e,"Widget bundle loading error")})),n}return i(t,e),t.prototype.prepareWidgetRenderParams=function(){var e=this.props,t=e.blockId,n=e.renderTo,r=e.data,i=e.nonce,o=e.dataSource,a=e.additionalClasses,s=e.darkTheme,c=e.uniqueId,u=e.onHide,d=e.googleConf,p=this.getCorrectSettings(r),v=new f.Testtag({isRefresh:o.isRefreshed(),integration:(0,h.getIntegrationNo)(h.IntegrationType.pcode)});return{block:{id:t,render:n,additionalClasses:a,darkTheme:s,hide:u,onClick:function(e){var t=(0,l.getPlacement)(c);null==t||t.callbacks.triggerOnClick(e)},onCustomElementClick:function(){var e=(0,l.getPlacement)(c);null==e||e.callbacks.triggerOnCustomElementClick()},nonce:i,clickMacro:o.getSettings().clickMacro,integration:h.IntegrationType.pcode},meta:r,settings:p,additional:{testtag:v,nonce:i},googleConf:d}},t.prototype.onRender=function(){var e=this.props,t=e.uniqueId,n=e.onRenderCallback;(0,d.setMark)(t,d.RenderMarks.ContentfulRender),(0,C.renderingIsCompleted)(t),null==n||n(),(0,u.asyncCollectMarks)(t,this.getRumAdditionals())},t.prototype.getCorrectSettings=function(e){var t=e.settings||{};if(!A(t)&&!A(t=(0,o.getObjectEntries)(e.settings)[0][1])){var r=(0,l.getPlacement)(this.props.uniqueId);null==r||r.callbacks.triggerAltCallback();var i=new Error("Widget: \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0440\u0430\u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u043b\u043e\u043a\u0430");p.logger.error(i,"WIDGET_INCORRECT_SETTINGS",{data:n.lv["json"].stringify(e)})}return t},t.prototype.getRumAdditionals=function(){var e=this.props,t=e.renderTo,n=e.dataSource,r=e.uniqueId,i=(0,v.findContainer)(t),o=(0,c.parseBlockId)(n.getSettings().blockId||"").pageId,u=(0,l.getPlacement)(r),d=(null==u?void 0:u.additionals)||{},p=d.posInQueue,f=d.slotIndex;return{type:"native",format:"native",pageId:o,isDocumentHidden:(0,s.isHidden)(),isRefreshed:n.isRefreshed(),containsData:n.isContainsData(),isInViewport:!!i&&(0,a.isInViewport)(i,0),slotIndex:f,posInQueue:p,inApp:n.isApp(),isSsp:n.isSSP()}},t}(m.Destroyable);function A(e){return!!(0,b.isObject)(e)&&Boolean(e.name||e.template||e.css||e.activeTestIds||e.ssr)}t.WidgetNative=E},function(e,t,n){e.exports=function(e,t){n.e(49).then(function(){e(n(1867))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.renderRtbInline=void 0;var i=n(108),o=n(1441),a=n(639),s=n(1642);t.renderRtbInline=function(e,t){var n=(0,i.h)(o.VNodeReplace,null,(0,i.h)(s.RtbInline,r({},t)));return(0,a.clearHTML)(e),(0,i.render)(n,e),{destroy:function(){(0,i.render)(null,e)}}}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RtbInline=void 0;var a=n(108),s=n(967),c=n(959),l=n(985),u=n(1339),d=n(1643),p=n(978),f=n(716),h=n(969),v=n(1092),m=n(644),g=[n(1442),n(1645)],_=(0,c.bemClassNamesFactory)("rtb-inline",{}),y=function(e){function t(t){var n=e.call(this,t)||this;return n.isAdtuneOpened=!1,n.body=(0,a.createRef)(),n.container=(0,a.createRef)(),n.id=n.props.id||n.props.dataSource.getUniqueId(),n}return i(t,e),t.prototype.render=function(){var e=this.id,t=this.props.nonce,n=this.props,r=n.width,i=n.height;return(0,a.h)("div",{style:(0,p.styleObjToCss)({position:"relative",display:"block",boxSizing:"border-box",overflow:"hidden",width:r,height:i},!0)},(0,a.h)("div",{ref:this.body,className:(0,u.encodeClassNames)(_("__body")),style:(0,p.styleObjToCss)({position:"relative",top:0,left:0,width:r,height:i},!0)}),(0,a.h)(l.Style,{styles:g,variables:this.getCssVariables(),nonce:t},(0,a.h)("div",{ref:this.container,className:(0,u.encodeClassNames)(_("yap-reset",e,_()))},this.renderKebabMenu())))},t.prototype.renderKebabMenu=function(){var e=this,t=this.props.dataSource;if(t.getAbuseUrl()){var n=t.getLanguage(),r=t.getSize(),i=r[0]*r[1]>=75e3?"L":"M",o=t.isSmartBanner();return(0,a.h)("div",{className:(0,u.encodeClassNames)(_("__adtune","_size_".concat(i),"adtune-button")),onClick:function(){return e.onClickAdtune()}},(0,a.h)(d.AdKebabAndLabel,{language:n,hideLabel:!0,dspName:t.getDspName(),mode:o?"dark":"rtb"}))}},t.prototype.getCssVariables=function(){return{id:(0,u.encodeClassNames)(this.id),honeyWidth:"auto",honeyHeight:"auto",visibility:"visible",settings:{bgColor:"#fff"}}},t.prototype.componentDidMount=function(){this.initBasePath();var e=this.body.current;this.errorDescriptor=(0,f.on)(window,"error",this.onError,this),(0,h.setInnerHTML)(e,this.props.html,this.props.nonce)},t.prototype.componentWillUnmount=function(){null!==this.errorDescriptor&&this.errorDescriptor.un()},t.prototype.initBasePath=function(){var e=window.document,t=e.head.querySelector("base");t||(t=e.createElement("base"),e.head.appendChild(t)),t.href=this.props.basePath},t.prototype.onError=function(e){this.props.onError(e.error)},t.prototype.onClickAdtune=function(){var e,t=this;if(!this.isAdtuneOpened){var n=this.props.dataSource,r=n.getSettings();(0,m.showAdtune)(this.container.current,{useNewAdtuneAndKebab:!0,abuseUrl:n.getAbuseUrl(),language:n.getLanguage(),type:"default",hasBackground:!1,hasBorders:!0,warning:n.getOptionalDisclaimer(),copyLink:n.getCopyLink(),callback:function(e){return t.closeAdtune(e)}},{className:_("__feedback-menu"),nonce:this.props.nonce,protectNode:!0,data:o({blockId:r.blockId,bannerId:null===(e=r.bannerIds)||void 0===e?void 0:e[0]},n.getBugData()),hasShowBug:n.hasShowBug()}),this.isAdtuneOpened=!0}},t.prototype.closeAdtune=function(e){var t,n;this.isAdtuneOpened=!1,e&&this.props.dataSource.abuseAd(v.PREVENTS_BROWSING_ID),null===(n=(t=this.props).onAdtuneClose)||void 0===n||n.call(t,e)},t}(s.PureComponent);t.RtbInline=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdKebabAndLabel=void 0;var r=n(1278);Object.defineProperty(t,"AdKebabAndLabel",{enumerable:!0,get:function(){return r.AdKebabAndLabel}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTestingPage=void 0;t.isTestingPage=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=window),(0,n(81).isInIframe)(t)&&(/^partner-code\.yandex\.ru/i.test(location.host)||/^(?:106712)|(?:106713)$/.test(e))}},function(e,t){e.exports=function(e){var t=[];return t.push(".",e.id," .u15b337eb{position:absolute !important;width:100% !important;right:0 !important;top:0 !important;z-index:20 !important}.",e.id," .uf04765f3{position:absolute !important;z-index:21 !important;top:0 !important;left:0 !important;width:100% !important;height:100% !important}"),t.join("")}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.renderRtbBanner=void 0;var i=n(108),o=n(1647),a=n(1441),s=n(639);t.renderRtbBanner=function(e,t){var n=(0,i.h)(a.VNodeReplace,null,(0,i.h)(o.RtbBanner,r({},t)));return(0,s.clearHTML)(e),(0,i.render)(n,e),{destroy:function(){(0,i.render)(null,e)}}}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var i,o=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.RtbBanner=void 0;var s=n(108),c=n(1340),l=n(1289),u=n(979),d=n(1443),p=n(644),f=n(1444),h=n(2),v=n(140),m=n(959),g=n(470),_=n(73),y=n(177),b=n(90),C=n(1653),O=n(492),E=n(713),A=n(34),I=n(724),S=n(7),T=n(135),w=n(645),R=n(1431),P=n(1247),k=n(336),M=n(26),L=n(20),N=n(194),D=n(74),B=n(62),x=n(92),j=n(1199),F=n(27),U=n(332),V=n(1200),z=n(1445),H=n(1092),G=n(76),W=n(25),K=n(0),Y=n(1112),Z=n(15),q=n(967),X=n(1342),$=n(1339),Q=n(985),J=n(1654),ee=n(978),te=n(1278),ne=n(1661),re=n(655),ie=n(1663),oe=n(1664),ae=n(1665),se=[n(1442),n(1666)],ce={0:"none",1:"invisible",2:"one-pixel"},le=(0,m.bemClassNamesFactory)("rtb-banner",{}),ue=function(e){function t(t){var n=e.call(this,t)||this;n.bgImage=(0,s.createRef)(),n.bgColor=(0,s.createRef)(),n.main=(0,s.createRef)(),n.container=(0,s.createRef)(),n.body=(0,s.createRef)(),n.iframe=(0,s.createRef)(),n.root=(0,s.createRef)(),n.isAdtuneOpened=!1,n.isRenderStartedInViewport=!1,n.beforeRenderTimemark=0;var r=t.dataSource,i=t.testtag,o=t.nonce;n.id=n.props.id||n.props.dataSource.getUniqueId(),n.uniqId=n.props.dataSource.getUniqueId(),n.destroyHandlers=[],(0,F.setMark)(n.uniqId,F.RenderMarks.ReadyForRendering),n.nonce=o,n.isInterstitial=r.isInterstitial,n.isFullscreen=!1,n.isMediaAdaptive=r.isMediaAdaptive(),r.isFullscreen()&&(n.isFullscreen=!0,n.isInterstitial=!0),n.honeypot=r.getHoneypot(),i.setProps({isFullscreen:n.isFullscreen,isFloorAd:r.isFloorAd()});var a=new k.Deferred;return a.promise.then((0,S.protect)("RTBBanner.onReady",n.onReady,n)),n.resolveDomReady=a.resolve,n}return o(t,e),t.prototype.componentWillUnmount=function(){this.iframe||(0,T.nukeSafeframe)(window,this.id),this.removeResizeListener&&this.removeResizeListener(),(0,h.forEach)(this.destroyHandlers,(function(e){return e()}))},t.prototype.render=function(){var e=this;(0,F.setMark)(this.uniqId,F.RenderMarks.StartDomRendering);var t=this.id,n=this.isInterstitial,r=this.props,i=this.isFullscreen,o=r.html,c=r.dataSource,l=r.nonce,u=r.horizontalAlign,d=void 0===u||u,p=r.alternativeCode,f=c.getPosterSrc(),h=c.getSize(),v=h[0],m=h[1],g=c.isInterscroller(),_=c.getLanguage(),y=Boolean(o),b=c.isSSR();o&&p&&((0,N.isTurboPage)(window)||(y=!1));var C="100%"===v?(0,ee.styleObjToCss)({width:"100%"},!0):void 0;return(0,s.h)("div",{ref:this.root,className:(0,$.encodeClassNames)(le("yap-reset",t)),style:C},(0,s.h)(Q.Style,{styles:se,variables:this.getCssVariables(),nonce:l},(0,s.h)(X.ExperimentsProvider,{value:(0,W.getUaasConfig)()},(0,s.h)(ne.DisplayDetector,{onReady:this.resolveDomReady}),(0,s.h)("div",{ref:this.main,className:(0,$.encodeClassNames)(le(le(),"_horizontal-align_".concat(d||n),n&&"_interstitial","_honeypot_".concat(ce[this.honeypot]),g&&"_interscroller",i&&"_fullscreen"))},n&&f&&!i?(0,s.h)(ie.BgImage,{ref:this.bgImage,posterSrc:f,getImageData:function(t){return e.onGetImageData(t)},classNames:{"::host":(0,$.encodeClassNames)(le("__paranja-image"))}}):null,n&&!i?(0,s.h)("div",{ref:this.bgColor,className:(0,$.encodeClassNames)(le("__paranja-bg"))}):null,(0,s.h)("div",{ref:this.container,style:(0,ee.styleObjToCss)({width:v,height:m},!0),className:(0,$.encodeClassNames)(le("__container"))},(0,s.h)("div",{ref:this.body,id:"".concat(t),style:(0,ee.styleObjToCss)({width:v,height:m},!0),className:(0,$.encodeClassNames)(le("__body"))},y||b?null:(0,s.h)("iframe",a({ref:this.iframe,scrolling:"no"},{marginWidth:0,marginHeight:0,frameBorder:0,vspace:0,hspace:0,style:{width:"100%",height:"100%"}})),!i&&this.renderAdLabel(),!i&&this.renderAdtuneAndFeedback()))))),i&&c.getButtonUrl()&&(0,s.h)("div",{className:(0,$.encodeClassNames)(le("__buttons"))},(0,s.h)("a",{target:"_blank",href:c.getButtonUrl(),className:(0,$.encodeClassNames)(le("__button","__button-go"))},(0,O.i18nBanners)("DETAILS",_),(0,s.h)("div",{className:(0,$.encodeClassNames)(le("__arrow")),dangerouslySetInnerHTML:{__html:ae}}))))},t.prototype.getCssVariables=function(){return{id:(0,$.encodeClassNames)(this.id),honeyWidth:"auto",honeyHeight:"auto",visibility:"visible",settings:{bgColor:"#fff"}}},t.prototype.renderAdLabel=function(){var e=this.props,t=e.dataSource,n=e.isSocialAdvertising;if(!e.alternativeCode){var r=t.getLanguage(),i=t.isSmartBanner();return(0,s.h)(te.AdLabel,{language:r,dspName:t.getDspName(),adLabelMode:i?"dark":"rtb",isSocialAd:n})}},t.prototype.renderAdtuneAndFeedback=function(){var e=this,t=this.props.dataSource,n=t.getAbuseUrl(),r=t.getLanguage();if(n&&(0,P.shouldShowAdtune)(t)&&!this.isFullscreen&&(0,R.canUseAdtune)(window)){var i=t.getSize(),o=i[0]*i[1]>=75e3?"L":"M",a=t.isSmartBanner();return(0,s.h)("div",{className:(0,$.encodeClassNames)(le("__adtune","_size_".concat(o),"adtune-button")),onClick:function(){return e.onClickAdtune()}},(0,s.h)(te.AdKebabAndLabel,{language:r,hideLabel:!0,dspName:t.getDspName(),mode:a?"dark":"rtb"}))}},t.prototype.componentDidMount=function(){(0,F.setMark)(this.uniqId,F.RenderMarks.StopDomRendering),(0,F.setMark)(this.uniqId,F.RenderMarks.StartDetector)},t.prototype.onReady=function(){var e=this;(0,F.setMark)(this.uniqId,F.RenderMarks.StartEffectRendering),this.setBannerSizes(),(this.isInterstitial||this.isMediaAdaptive)&&(this.removeResizeListener=(0,g.addEventListener)(window,"resize",(function(){return e.setBannerSizes()}))),this.props.onReady(),this.isRenderStartedInViewport=this.isInViewport(),this.beforeRenderTimemark=performance.now(),this.props.ssr?this.initSSR():this.iframe.current?this.initFriendlyFrame():this.initSafeFrame()},t.prototype.setBannerSizes=function(){var e;if(this.isMediaAdaptive)this.setAdaptiveBannerSize();else{var t=this.props,n=t.dataSource,r=t.renderToNode,i=n.getSize(),o=i[0],a=i[1],s=1;if(this.isInterstitial){var c=(0,A.getBoundingClientRect)(r),l=c.width,u=c.height;if(this.isFullscreen){l-=32,u-=94}if((0,b.setStyle)(this.main.current,{width:l,height:u},!0),null===(e=this.bgImage)||void 0===e?void 0:e.current)this.bgImage.current.resize(l,u);s=(0,C.getScale)({width:l,height:u},{width:o,height:a})}(0,b.setStyle)(this.body.current,{width:o,height:a,transform:s<1?"scale(".concat(s,")"):"none"},!0)}},t.prototype.setAdaptiveBannerSize=function(){var e=(0,y.calculateSizeInfo)(this.props.renderToNode),t=e.max.inner,n=t.width,r=(0,I.getPreferredHeight)(n),i={};i=e.isFixed||r>t.height?{width:"100%",height:"100%"}:{width:"".concat(n,"px"),height:"".concat(r,"px")},Z.logger.traceLog(i,"ADAPTIVE_RTB_SIZE",1),(0,b.setStyle)(this.container.current,i,!0),(0,b.setStyle)(this.body.current,i,!0),(0,b.setStyle)(this.main.current,i,!0),(0,b.setStyle)(this.root.current,i,!0)},t.prototype.onGetImageData=function(e){if(e){var t=(0,E.getAverageColor)(e.data);if(t){var n=v.rgbToHsv.apply(void 0,t),r=n[0],i=n[1];(0,b.setStyle)(this.bgColor.current,{"background-color":"hsla(".concat(r,",").concat(i,"%,15%, 0.9)")},!0)}}},t.prototype.isCacheUrl=function(){var e=this.props,t=e.url,n=e.html;return Boolean(t)&&!1||!n},t.prototype.initFriendlyFrame=function(){var e,t,n,r,i=this.props.dataSource,o=this.getTemplateData(),a=oe(o);try{var s=this.iframe.current.contentDocument;s.open(),s.write(a),s.close(),this.onRender(),this.isCacheUrl()&&(0,G.logSSPEvent)("SSP_RTB_CACHE_REQUEST",i.getRawData())}catch(o){if(o.name="RTBBanner.initFriendlyFrame",o.stack="".concat(o.stack,":HTML:\n").concat(a),this.isCacheUrl()){var c=i.getRawData();(0,G.logSSPErrorEvent)("SSP_RTB_CACHE_RENDER_ERROR",{html:document.documentElement.innerHTML,bidreqid:(null===(e=null==c?void 0:c.rtb)||void 0===e?void 0:e.bidreqid)||"",productType:(null===(t=null==c?void 0:c.common)||void 0===t?void 0:t.productType)||"",adIds:null===(n=null==c?void 0:c.settings)||void 0===n?void 0:n.bannerIds,hitLogId:null===(r=null==c?void 0:c.eventConfirmationData)||void 0===r?void 0:r.HitLogID},1)}this.onError(o)}},t.prototype.getTemplateData=function(){var e=this.props,t=e.url,r=e.html,i=e.nonce,o=void 0===i?"":i,s=e.basePath,c=e.dataSource,l={baseURL:"",nonce:o},u=this.isCacheUrl()?{url:t}:{html:r,url:null,baseURL:s};return a(a(a({},l),u),{blockSettings:n.lv["json"].stringify(c.getSmartCreativeBlockSettings())})},t.prototype.initSafeFrame=function(){var e=this,t=this.props,r=t.basePath,i=t.nonce,o=t.protect,a=t.dataSource,s=this.body.current,c=this.getSafeframeSandboxAttr(),l=a.getSettings(),u=a.getSmartCreativeBlockSettings(),d=(0,L.getRevisionNo)(),p=(0,K.useExperimentFlag)("MBVER");p&&(d=p%1024);var f=(a.generateActiveTestIds()||"").split(";"),h=this.props.html;o&&"exp"===(0,K.useExperimentFlag)("HTML5_CLICKS_MEDIA_TESTAG")&&(h=h.replace(/"(https:\/\/an.yandex.ru\/count\/)(.+)"/g,"$1$2?media-test-tag=".concat(a.getMediaTesttag())));var v=["<script>window.pcodeVer = ".concat(d,";<\/script>"),"<script>window.pcodeBlockSettings = ".concat(n.lv["json"].stringify(u),";<\/script>"),f?"<script>window.__activeTestIds=".concat(n.lv["json"].stringify(f),";<\/script>"):"",(0,V.getPreventMissClicksScript)(),(0,z.getReportingEventEmitterScript)({bannerIds:l.bannerIds}),h].join("");(0,T.initSafeframe)(window,s,{id:this.id,html:v,basePath:r,width:"100%",height:"100%",nonce:i,sandbox:c,protected:o},void 0,(function(){return e.onRender()}),(function(t,n){return e.onActionSafeFrame(t,n,v)}))},t.prototype.initSSR=function(){var e,t,n,r=this,i=document.createElement("div");null===(t=null===(e=this.body)||void 0===e?void 0:e.current)||void 0===t||t.appendChild(i);var o=this.props,a=o.visibilitySignal,s=o.dataSource,c=s.getSSR(),l=c.html,p=c.css;this.ssrRootElement=(0,u.protectedRender)(i,(0,d.getShadowRootOptions)(s),l,p,this.props.nonce),this.ssrRootElement&&((0,J.initSSRClientCode)(this.ssrRootElement,s.getFormat(),{visibilitySignal:a,getDataSource:function(){return s}}),(null===(n=s.getClickConfirmation())||void 0===n?void 0:n.timeout)&&(this.clickConfirmationInitTime=Date.now(),this.destroyHandlers.push((0,g.addEventListener)(this.ssrRootElement,"click",(function(e){return r.onClickConfirmation(e,r.ssrRootElement)})))),this.destroyHandlers.push((function(){(0,J.destroySSRClientCode)(r.ssrRootElement,s.getFormat())})),this.onRender())},t.prototype.isInViewport=function(){return(0,Y.isInViewport)(this.props.renderToNode,0)},t.prototype.isBundleTypeWithNavigation=function(){return(0,M.checkBundleType)(M.bundleTypes.SSP)||(0,M.checkBundleType)(M.bundleTypes.mobileSdk)||(0,M.checkBundleType)(M.bundleTypes.webView)},t.prototype.getSafeframeSandboxAttr=function(){if(this.props.protect&&this.isBundleTypeWithNavigation())return{"allow-top-navigation":!0}},t.prototype.onActionSafeFrame=function(e,t,i){var o=this;if("error"===e){var a=new Error("RTBSafeframeError");try{var s=n.lv["json"].parse(t);r(a,{name:s.type,message:s.message})}catch(e){}this.onError(a,"RTB Safeframe error",{payload:t,html:i},1)}else"performance-timings"===e&&Array.isArray(t)&&t.forEach((function(e){"first-paint"===e.name?(0,U.sendRumDeltas)({totalFCP:o.beforeRenderTimemark+e.startTime},o.getRumAdditionals()):"largest-contentful-paint"===e.entryType&&(0,U.sendRumDeltas)({totalLCP:o.beforeRenderTimemark+(e.renderTime||e.loadTime)},o.getRumAdditionals())}))},t.prototype.onError=function(e,t,n,r){this.props.onError(e,t,n,r)},t.prototype.onRender=function(){(0,x.brakeFor)(x.POINT_NAME.DOM_RENDERING),(0,F.setMark)(this.uniqId,F.RenderMarks.StopEffectRendering),(0,F.setMark)(this.uniqId,F.RenderMarks.ContentfulRender),(0,B.renderingIsCompleted)(this.uniqId),this.props.onRender();var e=this.getRumAdditionals();(0,j.asyncCollectMarks)(this.uniqId,e)},t.prototype.getRumAdditionals=function(){var e=this.props.dataSource,t=e.getSmartBannerMeta(),n=Boolean(e.getSettings().reach),r=(0,D.getPlacement)(this.uniqId),i=(null==r?void 0:r.additionals)||{},o=i.posInQueue,a=i.slotIndex;return{type:"media",format:"".concat(this.isFullscreen?"fullscreen-":"").concat(this.getMediaCodeFormat()),isReach:n,pageId:e.getPageId(),isDocumentHidden:(0,w.isHidden)(),isRefreshed:e.isRefreshed(),containsData:e.isContainsData(),isInViewport:this.isInViewport(),slotIndex:a,posInQueue:o,inApp:e.isApp(),isSsp:e.isSSP(),externalDeltas:e.getSsrTimings(),isSsrSmartBanner:e.isSsrSmartBanner(),smartBannerPages:t.pages,smartBannerPerPage:t.perPage,isInterstitial:e.isInterstitial,isRenderStartedInViewport:this.isRenderStartedInViewport}},t.prototype.getMediaCodeFormat=function(){if(this.props.ssr)return this.props.dataSource.getFormat();if(this.props.html){var e=this.props.html.match(/window.Ya.mediaCode.create\('([^']+)'/);if(e)return e[1]}return"html5"},t.prototype.onClickConfirmation=function(e,t){var n,r=this,i=this.props.dataSource,o=null===(n=(0,c.getLinkTarget)(e.target))||void 0===n?void 0:n.getAttribute("href"),a=i.getClickConfirmation()||{},s=a.timeout,u=void 0===s?0:s,d=a.needConfirmation;if(this.body.current&&o&&this.clickConfirmationInitTime&&"exp"===(0,K.useExperimentFlag)("RTB_DOUBLE_CLICK_EXP",!0)){if(Date.now()-this.clickConfirmationInitTime<u){if(e.preventDefault(),e.stopPropagation(),d){if(this.isClickConfirmationOpened)return;var p=i.getLanguage(),h=(0,_.getElementInnerSize)(this.body.current);return(0,f.showClickConfirmation)(t,{size:h,language:p,url:o,cancelCallback:function(e){e.stopPropagation(),r.isClickConfirmationOpened=!1},confirmCallback:function(t){t.stopPropagation(),r.isClickConfirmationOpened=!1,(0,l.open)(e,o)}},this.props.nonce),void(this.isClickConfirmationOpened=!0)}return void(this.clickConfirmationInitTime=0)}this.clickConfirmationInitTime=0}},t.prototype.onClickAdtune=function(){var e,t=this;if(!this.isAdtuneOpened){var n=this.props,r=n.dataSource,i=n.isSocialAdvertising,o=r.getAbuseUrl(),s=r.getLanguage(),c=r.getSettings(),l=r.isInternalRequest()||"exp"===(0,K.useExperimentFlag)("ADVERTISER_INFO_LINK")?(0,re.getAdvertiserInfoUrl)(o):"";(0,p.showAdtune)(this.container.current,{useNewAdtuneAndKebab:!0,abuseUrl:o,language:s,type:i?"social":"default",hasBackground:!1,hasBorders:!0,warning:r.getOptionalDisclaimer(),copyLink:r.getCopyLink(),advertiserInfoLink:l,callback:function(e){var n,r;t.isAdtuneOpened=!1,e&&t.props.dataSource.abuseAd(H.PREVENTS_BROWSING_ID),null===(r=(n=t.props).onAdtuneClose)||void 0===r||r.call(n,e)}},{className:le("__feedback-menu"),nonce:this.props.nonce,protectNode:!0,data:a({blockId:c.blockId,bannerId:null===(e=c.bannerIds)||void 0===e?void 0:e[0]},r.getBugData()),hasShowBug:r.hasShowBug()}),this.isAdtuneOpened=!0}},t}(q.PureComponent);t.RtbBanner=ue},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateIntentUrl=void 0,t.generateIntentUrl=function(e){var t=encodeURIComponent(e),n="S.targetUrl=".concat(t,";"),r="S.fallbackUrl=".concat(t,";"),i="S.browser_fallback_url=".concat(t,";");return"".concat("intent://open.store/v1.1#Intent;package=ru.yandex.searchplugin;scheme=yandex-mobileads;category=android.intent.category.DEFAULT;").concat(r).concat(n).concat(i,"end")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isChrome=void 0,t.isChrome=(0,n(1430).getIsChrome)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isYaBrowser=void 0,t.isYaBrowser=(0,n(1327).getIsYaBrowser)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isYandexApp=void 0;t.isYandexApp=function(e){return void 0===e&&(e=window),/YandexSearch|YaSearchBrowser|YaApp_iOS|YaApp_Android/i.test((0,n(184).getUserAgent)(e))}},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(22).then(function(){if(i=n(1870),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScale=void 0;var r=function(e,t){return(1e3-((n=(e-t)/(.001*e))>0?Math.ceil(n):Math.floor(n)))/1e3;var n};t.getScale=function(e,t){return t.width/e.width>t.height/e.height?r(t.width,e.width):r(t.height,e.height)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.destroySSRClientCode=t.initSSRClientCode=void 0;var r=n(1655),i=n(1658);t.initSSRClientCode=function(e,t,n){"MediaImage"===t&&(0,r.initMediaImageClientCode)(e,n),"smart-banner-adaptive_v1"===t&&(0,i.initSmartTileClientCode)(e,n)},t.destroySSRClientCode=function(e,t){"MediaImage"===t&&(0,r.destroyMediaImageClientCode)(e),"smart-banner-adaptive_v1"===t&&(0,i.destroySmartTileClientCode)(e)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.destroyMediaImageClientCode=t.initMediaImageClientCode=t.MediaImageController=void 0;var a=n(638),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(n(1446).MediaCreativeController);t.MediaImageController=s;var c={};t.initMediaImageClientCode=function(e,t){var n=(0,a.generateId)();e.setAttribute("id",n),c[n]=new s(o({container:e},t))},t.destroyMediaImageClientCode=function(e){var t,n=e.getAttribute("id");n&&(null===(t=c[n])||void 0===t||t.destroy(),c[n]=void 0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.closestElementWithAttr=void 0,t.closestElementWithAttr=function(e,t){for(var n=e;n&&1===n.nodeType;){if(n.getAttribute(t))return n;n=n.parentElement}return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapUrlWithClickMacro=t.addReferrerToUrl=t.prepareClickURL=void 0;var r=n(81),i=n(720),o=n(23),a=n(0);function s(e){return(0,r.isInIframe)(window)?(0,o.addParamToUrl)(e,"target-ref",document.referrer):e}function c(e,t){return t?"".concat(t).concat(encodeURIComponent(e)):e}t.prepareClickURL=function(e,t,n){var r=function(e){var t=(n=e,r=(0,o.parseUrlUsingCache)(n),i=(0,o.parseQueryString)(r.search).click_macro,a=void 0===i?"":i,"string"==typeof a?a:a[0]||"");var n,r,i,a;if(t&&"%%CLICK_URL_ESC%%"!==t)try{t=decodeURIComponent(t)}catch(e){t=""}return t}(t);return function(e,t){if("object"==typeof e)return(0,i.mapValues)(e,t);return t(e)}(e,(function(e){e=s(e);var t=(0,a.generateActiveTestIds)(n);return t&&(e=(0,o.addParamToUrl)(e,"pcode-active-testids",t)),c(e,r)}))},t.addReferrerToUrl=s,t.wrapUrlWithClickMacro=c},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.destroySmartTileClientCode=t.initSmartTileClientCode=t.SmartTileController=void 0;var a=n(23),s=n(2),c=n(630),l=n(972),u=n(0),d=n(638),p=n(1447),f=n(1290),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var t=this;e.prototype.init.call(this);var n=this.props.getDataSource(),r=this.props,i=r.visibilitySignal,o=r.container,s=(0,l.getElementByData)("parent-count",void 0,o),d=null==s?void 0:s.dataset.parentCount;if(this.pages=(0,c.getElementsByData)("name","carousel-slide",o)||[],d&&0!==this.pages.length){this.addResource("bannerLayoutController",new f.BannerLayoutController({container:o}));var h=(0,l.getElementByData)("name","offers-carousel",o);if(!h)return null;var v=new p.OffersCarouselController({container:h,onChangePage:function(e){return t.reportVisibilityOfOffers(e)}});return this.addResource("offersCarouselController",v),i.subscribeValueConditionOnce((function(e){return e}),(function(){n.sendVisibilityConfirmation((0,a.addParamToUrl)(d,"pcode-active-testids",(0,u.generateActiveTestIds)())),t.reportVisibilityOfOffers(v.getCurrentIndex())})),v}},t.prototype.reportVisibilityOfOffers=function(e){var t=this.pages[e],n=this.props.getDataSource();if(t){var r=(0,c.getElementsByData)("name","offer-tile",t)||[];(0,s.forEach)(r,(function(e){if(e.dataset.hasOwnProperty("count")){var t=e.dataset.count;t&&n.sendVisibilityConfirmation((0,a.addParamToUrl)(t,"pcode-active-testids",(0,u.generateActiveTestIds)()))}}))}},t}(n(1446).MediaCreativeController);t.SmartTileController=h;var v={};t.initSmartTileClientCode=function(e,t){var n=(0,d.generateId)();e.setAttribute("id",n),v[n]=new h(o({container:e},t))},t.destroySmartTileClientCode=function(e){var t,n=e.getAttribute("id");n&&(null===(t=v[n])||void 0===t||t.destroy(),v[n]=void 0)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CarouselIndicatorController=void 0;var o=n(2),a=n(629),s=n(630),c=n(1214),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var t=this,n=this.props,r=n.container,i=n.onChangePage;e.prototype.init.call(this),this.indicators=(0,s.getElementsByData)("name",c.CAROUSEL_INDICATOR_PAGE_NAME,r)||[],(0,o.forEach)(this.indicators,(function(e,n){t.addEventListener(e,"click",(function(){i(n),t.setCurrentPage(n)}))})),this.setCurrentPage(this.props.initialIndex||0)},t.prototype.setCurrentPage=function(e){var t=Math.min(this.indicators.length-5,Math.max(0,e-1)),n=t+5;(0,o.forEach)(this.indicators,(function(r,i){r.removeAttribute("data-variant"),i!==t-1&&i!==n||r.setAttribute("data-variant","small"),i>=t&&i<n&&r.setAttribute("data-variant","large"),i===e&&r.setAttribute("data-variant","active")}))},t}(a.Destroyable);t.CarouselIndicatorController=l},function(e,t,n){"use strict";var r,i,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.WarningImportantController=void 0;var a=n(963),s=n(657),c=n(533),l=n(320),u=n(631),d=n(629),p=((i={})[l.DIETARY_SUPPLEMENT_FLAG]="sup",i[l.MEDICINE_FLAG]="med",i),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.init=function(){e.prototype.init.call(this);var t,n=this.props.container,r=n.dataset.warningFlag,i=p[void 0===r?"":r],o=Number(n.dataset.warningRatio),l=(t=(0,a.getLimitFunction)(2,100)(o),2*Math.floor(t/2+.25));(0,u.loadImage)({src:"https://yastatic.net/pcode-static/resources/41/warning_svg/".concat(i,"/").concat(l,"_1.svg"),onLoad:function(e){n.innerHTML="",n.appendChild(e),s.isIE&&(0,c.rafDebounce)((function(){var t=n.offsetWidth,r=n.offsetHeight,i=(t/e.offsetWidth).toFixed(3),o=(r/e.offsetHeight).toFixed(3);e.style.setProperty("transform","scale(".concat(i,", ").concat(o,")"))}))()}})},t}(d.Destroyable);t.WarningImportantController=f},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.DisplayDetector=void 0;var o=n(959),a=n(108),s=n(967),c=n(1339),l=n(623),u=n(325).DisplayObserver,d=n(1662),p=(0,o.bemClassNamesFactory)("display-detector",{}),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dummyRef=(0,a.createRef)(),t}return i(t,e),t.prototype.render=function(){return(0,l.useStyles)(d),(0,a.h)("div",{ref:this.dummyRef,className:(0,c.encodeClassNames)(p())})},t.prototype.componentDidMount=function(){var e=this,t=this.dummyRef.current;this.displayObserver=new u((function(t){t&&(e.displayObserver.disconnect(),e.props.onReady())})),this.displayObserver.observe(t)},t.prototype.componentWillUnmount=function(){this.displayObserver&&this.displayObserver.disconnect()},t}(s.PureComponent);t.DisplayDetector=f},function(e,t){e.exports=function(e){var t=[];return t.push(".",e.id," .bf2dfc8c9{position:absolute !important;left:-1000px !important;top:-1000px !important;width:1px !important;height:1px !important;display:block !important}"),t.join("")}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.BgImage=void 0;var o=n(959),a=n(108),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ready=!1,t.canvasRef=(0,a.createRef)(),t.width=0,t.height=0,t}return i(t,e),t.prototype.render=function(){var e=this.props.classNames,t=(0,o.classNamesFactory)(e);return(0,a.h)("canvas",{ref:this.canvasRef,className:t("::host")})},t.prototype.componentDidMount=function(){var e=this;this.canvas=this.canvasRef.current,this.canvasContext=this.canvas.getContext("2d"),this.image=new Image;var t=this.image;t.crossOrigin="Anonymous",t.onload=function(){e.ready=!0,e.drawImage()},t.onerror=function(){},t.src=this.props.posterSrc},t.prototype.resize=function(e,t){var n=this.canvas;n.width=e,n.height=t,this.width=e,this.height=t,this.ready&&this.drawImage()},t.prototype.drawImage=function(){var e=this.canvasContext,t=this.image,n=this.width,r=this.height,i=Number((t.width/t.height).toFixed(2)),o=n,a=r;i<=n/r?a=o/i:o=a*i;var s=t.width/o,c=Math.abs(.5*(o-n)*s),l=Math.abs(.5*(a-r)*s),u=Math.ceil(n*s),d=Math.ceil(r*s);if(e.drawImage(t,c,l,u,d,0,0,n,r),void 0===this.imageData){try{this.imageData=e.getImageData(0,0,n,r)}catch(e){this.imageData=null}this.props.getImageData(this.imageData)}},t}(n(967).PureComponent);t.BgImage=s},function(e,t){e.exports=function(e){var t=[];return t.push('<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><base href="',e.baseURL,'" target="_blank"/>'),e.additionalStyles&&t.push('<style nonce="',e.nonce,'">',e.additionalStyles,"</style>"),t.push("</head><body>"),e.url?t.push('<script nonce="',e.nonce,'">window.location = "',e.url,'";<\/script>'):(t.push(""),e.blockSettings&&t.push('<script nonce="',e.nonce,'">window.pcodeBlockSettings = ',e.blockSettings,";<\/script>"),t.push("",e.html,"")),t.push("</body></html>"),t.join("")}},function(e,t){e.exports='<svg width="10" height="11" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.816 7.054a1 1 0 002 0v-5.37a1 1 0 00-1-1h-5.37a1 1 0 000 2h.584a10 10 0 002.233-.254l.86-.197v.066l-.775.581a9.864 9.864 0 00-1.071.929l-4.801 4.8a1 1 0 001.414 1.415l4.801-4.8a10 10 0 00.929-1.072l.581-.775h.066l-.197.864a10 10 0 00-.253 2.23v.583z"/></svg>'},function(e,t){e.exports=function(e){var t=[];return t.push(".",e.id," .j511f7339{position:relative !important;margin:auto !important;display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important;-webkit-box-pack:center !important;-ms-flex-pack:center !important;justify-content:center !important;-webkit-box-align:center !important;-ms-flex-align:center !important;align-items:center !important;overflow:hidden !important}.",e.id," .e61e4a7d9{padding:10px 16px 86px !important}.",e.id," .nac4bbbd6,.",e.id," .yfac66fb4{position:absolute !important;z-index:1 !important;top:0 !important;left:0 !important;right:0 !important;bottom:0 !important;width:100% !important;height:100% !important;display:none !important}.",e.id," .f167ad27e{position:relative !important;z-index:2 !important}.",e.id," .c9c078c9{position:relative !important;top:0 !important;left:0 !important;width:100% !important;height:100% !important}.",e.id," .c9c078c9 iframe{position:absolute !important;top:0 !important;left:0 !important;width:100% !important;height:100% !important}.",e.id," .mdb86bd96{position:absolute !important;width:100% !important;right:0 !important;top:0 !important;z-index:20 !important}.",e.id," .e7717058e{position:absolute !important;z-index:21 !important;top:0 !important;left:0 !important;width:100% !important;height:100% !important}.",e.id," .c3484123c{position:absolute !important;top:0 !important;left:0 !important;z-index:10 !important;height:16px !important;padding:0 4px !important;font-size:11px !important;line-height:16px !important;color:#000 !important;text-decoration:none !important;background:#fff !important;border:1px solid #e5e5e5 !important;border-bottom-right-radius:3px !important;cursor:pointer !important}.",e.id," .qb09a5df8{border:1px solid #303050 !important}.",e.id," .cf80c7adc{max-width:100% !important;max-height:100% !important}.",e.id," .cf80c7adc .nac4bbbd6,.",e.id," .cf80c7adc .yfac66fb4{display:block !important}.",e.id," .cf80c7adc .yfac66fb4{-webkit-filter:blur(10px) saturate(0) contrast(400%) !important;filter:blur(10px) saturate(0) contrast(400%) !important}.",e.id," .cf80c7adc .nac4bbbd6{background-color:rgba(38,38,38,.9) !important}.",e.id," .g4e0bf6ba{-webkit-box-pack:start !important;-ms-flex-pack:start !important;justify-content:flex-start !important}.",e.id," .ga1065dce,.",e.id," .vbbaa9366{visibility:hidden !important;opacity:0 !important}.",e.id," .vbbaa9366{max-width:1px !important;max-height:1px !important}.",e.id," .j70c1e3c{position:absolute !important;bottom:20px !important;left:16px !important;right:16px !important;z-index:3 !important;display:-webkit-box !important;display:-ms-flexbox !important;display:flex !important}@media (orientation:landscape){.",e.id," .j70c1e3c{margin:0 auto !important;width:260px !important}}.",e.id," .fe7bfa8af{height:48px !important;line-height:48px !important;font-size:16px !important;border-radius:8px !important;text-align:center !important;font-weight:700 !important;-ms-flex-item-align:stretch !important;align-self:stretch !important;padding:0 20px !important;white-space:nowrap !important;min-width:0 !important}.",e.id," .q4ba4c8d4{background:-webkit-gradient(linear,left top,left bottom,from(#efefef),to(#e5e5e5)) !important;background:-o-linear-gradient(top,#efefef 0,#e5e5e5 100%) !important;background:linear-gradient(180deg,#efefef,#e5e5e5) !important;margin-right:8px !important;-webkit-box-flex:2 !important;-ms-flex:2 1 !important;flex:2 1 !important}.",e.id," .g1943e28a{background:-webkit-gradient(linear,left top,right top,color-stop(-40%,#f60),color-stop(20%,rgba(255,102,0,0))),-webkit-gradient(linear,right top,left top,color-stop(-40%,#f60),color-stop(20%,rgba(255,102,0,0))),-webkit-gradient(linear,left bottom,left top,color-stop(-80%,#f60),color-stop(80%,#fd0)) !important;background:-o-linear-gradient(left,#f60 -40%,rgba(255,102,0,0) 20%),-o-linear-gradient(right,#f60 -40%,rgba(255,102,0,0) 20%),-o-linear-gradient(bottom,#f60 -80%,#fd0 80%) !important;background:linear-gradient(90deg,#f60 -40%,rgba(255,102,0,0) 20%),linear-gradient(270deg,#f60 -40%,rgba(255,102,0,0) 20%),linear-gradient(0deg,#f60 -80%,#fd0 80%) !important;-webkit-box-flex:3 !important;-ms-flex:3 1 !important;flex:3 1 !important}.",e.id," .w21a9a320{display:inline-block !important;margin-left:8px !important}"),t.join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hitOnce=void 0;var r={},i=(0,n(7).protect)("metrika_yan",(function(e){e.hit(window.location.href,{referer:document.referrer})}));t.hitOnce=function(e){!r[e]&&((0,n(251).requestCounter)({id:parseInt(e,10),isYAN:!0,enableCookies:!1},i),r[String(e)]=!0)}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.initReportListener=void 0,t.initReportListener=function(){(0,n(24).on)(window,"message",(function(e){var t=(0,n(1324).tryParse)(e.data)||e.data;if(t.name===n(1096).REPORTING_EVENT_NAME){var i=t||{},o=i.reports,a=void 0===o?[]:o,s=i.params,c=void 0===s?{}:s;(0,n(2).forEach)(a,(function(e){return n(15).logger.traceLog(r(r({},c),e.body?{sourceFile:e.body.sourceFile,lineNumber:e.body.lineNumber,columnNumber:e.body.columnNumber}:{}),(0,n(1669).getReportType)(e),100)}))}}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getReportType=void 0,t.getReportType=function(e){var t;if(!(0,n(14).isObject)(e))return n(1096).ReportType.EMPTY_REPORT;if(!e.type)return n(1096).ReportType.EMPTY_REPORT;if(e.type===n(1096).BrowserReportType.CSP_VIOLATION)return n(1096).ReportType.CSP_VIOLATION_REPORT;if(e.type===n(1096).BrowserReportType.INTERVENTION){var r=(null===(t=e.body)||void 0===t?void 0:t.message.toLowerCase())||"";return r.includes("network usage")?n(1096).ReportType.NETWORK_USAGE_INTERVENTION_REPORT:r.includes("peak cpu")?n(1096).ReportType.PEAK_CPU_INTERVENTION_REPORT:r.includes("total cpu")?n(1096).ReportType.TOTAL_CPU_INTERVENTION_REPORT:r.includes("cpu usage")?n(1096).ReportType.CPU_USAGE_INTERVENTION_REPORT:r.includes("touchmove")?n(1096).ReportType.TOUCHMOVE_INTERVENTION_REPORT:n(1096).ReportType.UNKNOWN_INTERVENTION_REPORT}return e.type===n(1096).BrowserReportType.DEPRECATION?n(1096).ReportType.DEPRECATION_REPORT:e.type===n(1096).BrowserReportType.FEATURE_POLICY_VIOLATION?n(1096).ReportType.FEATURE_POLICY_VIOLATION_REPORT:n(1096).ReportType.UNKNOWN_REPORT_TYPE}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TzarEventConfirmation=void 0;var r=function(){function e(e){var t=this;if(this.cfg=e,this.cfg.data&&this.cfg.data.eventConfirmationData){this.sendEventConfirmation(this.getEventConfirmationData("bs_response"));var r=this.cfg.renderTo;try{var i=(0,n(120).getElementById)(r),o=(0,n(556).findContainer)(r);this.visibilityConfirmer=new(n(538).VisibilityConfirmer)({element:i||o,autostart:!0,strategy:n(473).GeneralStrategy.factory,interval:100,portion:.001,confirmations:[{delay:0,confirmOnHover:!0,onConfirm:function(){t.sendEventConfirmation(t.getEventConfirmationData("container_in_viewport_after_response"))}}]})}catch(e){}}}return e.prototype.getEventConfirmationData=function(e){var t;return{Events:[{CommonData:null===(t=this.cfg.data)||void 0===t?void 0:t.eventConfirmationData,VariedData:[{ConfirmationType:e}]}]}},e.prototype.sendEventConfirmation=function(e){(0,n(235).request)({url:"https://an.yandex.ru/event_confirmation",method:"POST",headers:{"Content-Type":"application/json"},data:n.lv["json"].stringify(e)})},e.prototype.destroy=function(){this.visibilityConfirmer&&(this.visibilityConfirmer.stop(),this.visibilityConfirmer=void 0)},e}();t.TzarEventConfirmation=r},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(23).then(function(){if(i=n(1876),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports={MOTION:{async:!0,module:function(e,t){n(1739)(e,t)}},ADAPTIVE_0418:{async:!0,module:function(e,t){n(1740)(e,t)}},POSTER_V3:{async:!0,module:function(e,t){n(1741)(e,t)}},BILLBOARD:{async:!0,module:function(e,t){n(1742)(e,t)}},ADAPTIVE_V3:{async:!0,module:function(e,t){n(1743)(e,t)}},SSR:{async:!1,module:function(e){e(n(1744))}}}},function(e,t,n){e.exports=function(e,t){n.e(19).then(function(){e(n(1920))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){e.exports=function(e,t){n.e(17).then(function(){e(n(1403))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){e.exports=function(e,t){n.e(20).then(function(){e(n(1937))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){e.exports=function(e,t){n.e(18).then(function(){e(n(1943))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){e.exports=function(e,t){n.e(16).then(function(){e(n(1958))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e){function t(t,r,i,o,a,s,c,l){var u=e.call(this,{dataSource:t,settings:r,renderTo:i,nonce:a,onClose:l})||this;return u.confirmVisibilityAds=(0,n(7).protect)("SsrBlock:confirmVisibilityAds",(function(e){var t=u.getUsedAdvs();u.props.dataSource.onConfirmVisibility(t,{renderSize:u.getBlockSize(),extParams:{confirmTime:e,confirmRatio:(0,n(1145).getVisibilityRatio)(u.rootNode)}});for(var r=0;r<u.adControllers.length;r++)u.adControllers[r].initClickConfirmation();u.visibilityConfirmed=!0})),u.confirmVisibilityRtb=(0,n(7).protect)("SsrBlock:confirmVisibilityRtb",(function(e){var t,r=u.props.dataSource;(null===(t=r.getClickConfirmation())||void 0===t?void 0:t.needConfirmation)&&"exp"===(0,n(0).useExperimentFlag)("DOUBLE_CLICK_OFF_EXP")&&(0,n(1200).preventMissClicks)(u.rootNode,Number((0,n(0).useExperimentFlag)("DOUBLE_CLICK_OFF_EXP_VALUE"))),r.confirmVisibilityInRtb({renderSize:u.getBlockSize(),extParams:{confirmTime:e,confirmRatio:(0,n(1145).getVisibilityRatio)(u.rootNode)}})})),u}return i(t,e),t.prototype.init=function(){this.uniqId=this.props.dataSource.getUniqueId();var e=this.props.dataSource.getSsr(),t=e.html,r=e.css,i=e.salt,o=e.encoding;this.salt=i,"URI"===o?(this.html=decodeURIComponent(t),this.css=decodeURIComponent(r)):"raw"===o?(this.html=t,this.css=r):(this.html=(0,n(21).decode)(t),this.css=(0,n(21).decode)(r)),this.advs=[],this.visibilityConfirmed=!1,(0,n(27).setMark)(this.uniqId,n(27).RenderMarks.ReadyForRendering)},t.prototype.render=function(){var e=this;(0,n(27).setMark)(this.uniqId,n(27).RenderMarks.StartDomRendering);var t=this.props,r=t.nonce,i=t.renderTo,a=(0,n(118).querySelector)("#".concat(i));this.rootNode=(0,n(1151).getContainer)(a,this.props.nonce),(0,n(1200).preventMissClicks)(this.rootNode,(0,n(1297).hasBouncesExp)(this.props.dataSource.getBlockId(),"BOUNCES_EXP_CLICK_TIMER")?Number((0,n(0).useExperimentFlag)("BOUNCES_EXP_CLICK_TIMER")):void 0),this.rootNode.innerHTML="";var s=document.createElement("div");this.rootNode.appendChild(s),this.blockNode=(0,n(979).protectedRender)(s,(0,n(1443).getShadowRootOptions)(this.props.dataSource),this.html,this.css,r),this.doOnDestroy((function(){e.rootNode.innerHTML="",e.blockNode=null,(0,n(27).clearMarks)(e.uniqId)})),this.blockNode&&(this.initAdControllers(),this.initBlockControllers()),(0,n(27).setMark)(this.uniqId,n(27).RenderMarks.StopDomRendering),(0,n(27).setMark)(this.uniqId,n(27).RenderMarks.ContentfulRender),(0,n(27).setMark)(this.uniqId,n(27).RenderMarks.StartEffectRendering),(0,n(62).renderingIsCompleted)(this.uniqId),this.initVisibilityChecker(s);var c=[].slice.call(this.blockNode.querySelectorAll("img")),l=Date.now();c.forEach((function(t){t.addEventListener("error",(function(){var r=o(o({},e.getRumAdditionals()),{src:t.src,loadTime:Date.now()-l});n(15).logger.error("Image Load Error","network",r,100)}))})),(0,n(113).requestAnimationFrame)(this.protectAsyncCallback((function(){e.initClientCode(),(0,n(27).setMark)(e.uniqId,n(27).RenderMarks.StopEffectRendering),(0,n(1199).asyncCollectMarks)(e.uniqId,e.getRumAdditionals())})))},t.prototype.getRumAdditionals=function(){var e=this.props,t=e.dataSource,r=e.settings,i=t.getSsr(),o=t.isFullscreen(),a=(0,n(74).getPlacement)(this.uniqId),s=(null==a?void 0:a.additionals)||{},c=s.posInQueue,l=s.slotIndex;return{type:"ssr",format:"".concat(o?"fullscreen-":"").concat(r.format.name),pageId:t.getPageId(),isDocumentHidden:(0,n(645).isHidden)(),isRefreshed:t.isRefreshed(),containsData:t.isContainsData(),isInViewport:(0,n(544).isInViewport)(this.blockNode,0),slotIndex:l,posInQueue:c,inApp:t.isApp(),isSsp:t.isSSP(),externalDeltas:i?i.timing:void 0,isAsyncReady:!1,limit:this.getUsedAdvs().length,isInterstitial:t.isInterstitial,detailedDeviceType:t.getDetailedDeviceType(),hasVideo:t.hasVideo(),isAdfox:t.isAdfox(),isSspRtbCache:t.isSspRtbCache()}},t.prototype.destructor=function(){this.destroy()},t.prototype.getUsedAdvs=function(){return this.getResource(n(1358).PARTIAL_CONTAINER_NAME)?(0,n(18).filter)(this.advs,(function(e){return e.captured})):this.advs},t.prototype.isVisibilityConfirmed=function(){return this.visibilityConfirmed},t.prototype.confirmVisibility=function(){},t.prototype.isInViewport=function(){return(0,n(544).isInViewport)(this.rootNode,n(145).REFRESH_VIEWPORT_VISIBLE_PART)},t.prototype.isVisible=function(){return!!this.visibilityConfirmerInRtb&&this.visibilityConfirmerInRtb.getIsVisible()},t.prototype.slideUp=function(e){(0,n(1092).slideUp)(this.rootNode,e)},t.prototype.initAdControllers=function(){var e,t=this,r=this.blockNode,i=this.props.dataSource,o=i.getFreeAds(),a=(e=r,(0,n(99).listToArray)(e.querySelectorAll("[data-id]"))),s=[];this.adControllers=[];var c=Boolean((0,n(972).getElementByData)("name","carousel-container",r));(0,n(2).forEach)(a,(function(e){var t=e.dataset.id,r=(0,n(104).find)(o,(function(e){return e.adId===t}));r&&i.addBannerSize({adId:r.adId,size:(0,n(471).getElementRectSize)(e)})})),(0,n(2).forEach)(a,(function(e,a){var l=e.dataset.id;e.removeAttribute("data-id");var u=(0,n(104).find)(o,(function(e){return e.adId===l}));if(u){var d=i.prepareAd(u,{},a+1);t.addPropsInTesttag({isCarousel:c},i),s.push(d);var p=new(n(1745).AdController)({rootNode:e,blockNode:r,adv:d,dataSource:i,onClose:function(){return t.onClose()},onConfirmHover:function(){return t.confirmVisibilityAdHover(d)},nonce:t.props.nonce});t.addResource("adv-".concat(l),p),t.adControllers.push(p)}})),this.advs=(0,n(18).filter)(s,(function(e){return Boolean(e)}))},t.prototype.addPropsInTesttag=function(e,t){var n=t.getTesttagProps();t.setTesttagProps(o(o({},n),e))},t.prototype.initBlockControllers=function(){var e=this,t=this.props.dataSource,r=(0,n(972).getElementByData)("name",n(1358).PARTIAL_CONTAINER_NAME,this.blockNode);if(r){var i=function(t){(0,n(2).forEach)((0,n(10).isArray)(t)?t:[t],(function(t){for(var n=t.offset;n<t.offset+t.limit;n++)e.captureAd(e.advs[n])}))},o=new(n(1807).PartialContainerController)({container:r,salt:this.salt,nonce:this.props.nonce,getDataSource:function(){return t},onPageShown:i});this.addResource(n(1358).PARTIAL_CONTAINER_NAME,o),(0,n(2).forEach)(this.advs,(function(e){return t.releaseAd(e.adId)}));var a=o.getVisibleItems();a&&i(a)}},t.prototype.captureAd=function(e){e&&!e.captured&&(e.captured=!0,this.props.dataSource.captureAd(e.adId),this.visibilityConfirmed&&this.props.dataSource.onConfirmVisibility([e],{renderSize:this.getBlockSize(),extParams:{confirmTime:-1,confirmRatio:(0,n(1145).getVisibilityRatio)(this.rootNode)}}))},t.prototype.initVisibilityChecker=function(e){var t=this,r=this.props.dataSource,i=new(n(538).VisibilityConfirmer)({element:e,autostart:!0,portion:0,confirmations:[{delay:r.getVisibilityTime(),onConfirm:this.confirmVisibilityAds}]});this.visibilityConfirmerInRtb=(0,n(654).createBlockVisibilityConfirmer)({element:e,trackings:null==r?void 0:r.getSettings(),delay:r?r.getVisibilityTime():void 0,autostart:!0,onVisible:this.confirmVisibilityRtb}),this.doOnDestroy((function(){i.stop(),t.visibilityConfirmerInRtb.stop()})),this.confirmVisibility=function(){i.confirm(),t.visibilityConfirmerInRtb.confirm()}},t.prototype.confirmVisibilityAdHover=function(e){var t=[e];this.props.dataSource.sendVisibilityConfirmation(t,{testtagProps:{isHover:!0},renderSize:this.getBlockSize(),extParams:{confirmTime:-1,confirmRatio:(0,n(1145).getVisibilityRatio)(this.rootNode)}})},t.prototype.initClientCode=function(){for(var e=0;e<this.adControllers.length;e++)this.adControllers[e].initListeners(),this.adControllers[e].initClientCode(this.salt)},t.prototype.getBlockSize=function(){return(0,n(471).getElementRectSize)(this.rootNode)},t.prototype.onClose=function(){var e,t;null===(t=null===(e=this.props)||void 0===e?void 0:e.onClose)||void 0===t||t.call(e),this.props.dataSource.abuseAd(n(1092).PREVENTS_BROWSING_ID)},t}(n(629).Destroyable);e.exports=a},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(e){o(e)}}function s(e){try{c(r["throw"](e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.AdController=void 0;var c="light",l="dark",u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isAdtuneOpened=!1,t.clickConfirmationInitTime=0,t.lastScrollTimestamp=0,t.isClickConfirmationOpened=!1,t}return i(t,e),t.prototype.init=function(){var e=this,t=this.props.rootNode.querySelector("[data-close]")||void 0;t&&(this.crossBtnNode=t,this.crossBtnVariant=t.dataset.close||c,t.removeAttribute("data-close")),n(1451).CollectionController.hasCollectionBtnNode(this.props.rootNode)&&(this.collectionController=new(n(1451).CollectionController),this.collectionController.init(this.props)),this.prepareLinks(),this.props.dataSource.captureAd(this.props.adv.adId),this.doOnDestroy((function(){return e.props.dataSource.releaseAd(e.props.adv.adId)}))},t.prototype.initListeners=function(){var e=null,t=!1;function r(){null!==e&&(clearTimeout(e),e=null)}this.doOnDestroy(r),this.addEventListener(this.props.rootNode,"click",this.handleClick),this.addEventListener(this.props.rootNode,"mouseover",(function(){var r=this;null===e&&(e=n(7).protect.setTimeout((function(){t||(t=!0,r.props.onConfirmHover())}),300))})),this.addEventListener(this.props.rootNode,"mouseleave",r),this.bouncesExpScrollListener()},t.prototype.initClientCode=function(e){var t=this,r=this.props,i=r.rootNode,o=r.blockNode,a=r.adv,s=r.dataSource,c=a.abuseUrl,l=a.vastBase64,u=a.callUrl,d=a.vast,p=a.url,f=a.hitLogId,h=a.settings,v={renderSize:(0,n(471).getElementRectSize)(this.props.blockNode)},m=s.getAuxParams(a,v),g=this.canUseClickMacro()?s.getClickMacro():void 0;(0,n(1453).initSSRClientCode)(i,o,h,a,(function(){return s}),{abuseUrl:c,vastBase64:l,vast:d,urlParams:m,callUrl:u?u.toString():void 0,salt:e,url:p,hitLogId:f,clickMacro:g}),this.doOnDestroy((function(){t.destroyClientCode()}))},t.prototype.initClickConfirmation=function(){(this.props.dataSource.getClickConfirmation()||{}).timeout&&(this.clickConfirmationInitTime=Date.now())},t.prototype.destroyClientCode=function(){var e=this.props,t=e.rootNode,r=e.adv.settings;(0,n(1453).destroySSRClientCode)(t,r.name)},t.prototype.handleClick=function(e){var t,r,i=Boolean(e.target&&(null===(t=e.target.dataset)||void 0===t?void 0:t.sociallabel));if(this.isAdtuneOpened||this.isClickConfirmationOpened||i)return i&&(0,n(1093).open)(null===(r=e.target.dataset)||void 0===r?void 0:r.url),void e.stopPropagation();if(this.crossBtnNode&&e.target===this.crossBtnNode)this.handleClickCrossBtn(e);else if(this.collectionController&&this.collectionController.checkOnClick(e))this.collectionController.handleClick(e);else{if(this.clickConfirmationInitTime&&(0,n(1340).getLinkTarget)(e.target)&&"exp"!==(0,n(0).useExperimentFlag)("DOUBLE_CLICK_OFF_EXP")){var o=this.props.dataSource.getClickConfirmation()||{},a=o.timeout,s=void 0===a?0:a,c=o.needConfirmation;if(Date.now()-this.clickConfirmationInitTime<s)return e.preventDefault(),e.stopPropagation(),void(c?this.showClickConfirmation():this.clickConfirmationInitTime=0);this.clickConfirmationInitTime=0}this.bouncesExpClickCheck(e),this.performClick(e)}},t.prototype.bouncesExpClickCheck=function(e){var t=(0,n(1297).hasBouncesExp)(this.props.dataSource.getBlockId(),"BOUNCES_EXP_OFF_IMAGE")&&Boolean((0,n(1288).closest)(e.target,'[data-asset-click="image"]')),r=(0,n(1297).hasBouncesExp)(this.props.dataSource.getBlockId(),"BOUNCES_EXP_AFTER_SCROLL")&&this.lastScrollTimestamp&&Date.now()-this.lastScrollTimestamp<Number((0,n(0).useExperimentFlag)("BOUNCES_EXP_AFTER_SCROLL"));if(t||r)return e.preventDefault(),void e.stopPropagation()},t.prototype.bouncesExpScrollListener=function(){var e=this;if((0,n(1297).hasBouncesExp)(this.props.dataSource.getBlockId(),"BOUNCES_EXP_AFTER_SCROLL")){var t=(0,n(643).throttle)((function(){e.lastScrollTimestamp=Date.now()}),1e3);window.addEventListener("scroll",t,!0),this.doOnDestroy((function(){window.removeEventListener("scroll",t,!0)}))}},t.prototype.performClick=function(e){var t,r,i=this.props,o=i.adv,a=i.dataSource,s=i.blockNode,c=null===(r=null===(t=(0,n(1288).closestByAttribute)(e.target,"data-asset-click"))||void 0===t?void 0:t.dataset)||void 0===r?void 0:r.assetClick,l={renderSize:(0,n(471).getElementRectSize)(s),assetClick:c},u=a.getAuxParams(o,l);(0,n(1340).handleClick)(e,o.url,u),a.trackClick(o,{onReturnCallback:this.handleSurveyFastClick.bind(this)})},t.prototype.handleSurveyFastClick=function(e){var t=this.props.blockNode;if(!(e>1e4)){var r=((0,n(630).getElementsByData)("name","bannerSurvey",t)||[])[0];if(r)if(null!==r.getAttribute("data-should-visible-after-return")){var i=r.getAttribute("data-surveyId")||"",o=r.getAttribute("data-after-returning-class");n(15).logger.traceLog({type:"showSurvey",surveyId:i},"BANNER_SURVEY",100),o&&r.classList.add(o)}}},t.prototype.handleClickCrossBtn=function(e){var t=this;e.preventDefault(),e.stopPropagation();var r=this.props,i=r.adv,a=r.dataSource,s=i.abuseUrl,c=a.getLanguage(),u=a.getSettings(),d="motion"!==u.format.name&&(!1!==u.bannerBorder||"posterVertical"===u.format.name||"posterHorizontal"===u.format.name),p=(0,n(320).hasSocialAdvertisingFlag)(i.bannerFlags),f=i.url.toString(),h=(0,n(537).prettify)(i.warning,{softBreakPunct:!1}),v=a.isInternalRequest()||"exp"===(0,n(0).useExperimentFlag)("ADVERTISER_INFO_LINK")?(0,n(655).getAdvertiserInfoUrl)(s):"";(0,n(644).showAdtune)(this.props.rootNode,{useNewAdtuneAndKebab:!0,abuseUrl:s,language:c,hasBackground:this.crossBtnVariant===l,hasBorders:!d,bigCross:Boolean(this.crossBtnNode.dataset.bigCross),rowSize:this.crossBtnNode.dataset.rowSizeKebab,callback:function(e){return t.closeAdtune(e)},type:p?"social":"default",copyLink:f,warning:h,advertiserInfoLink:v},{nonce:this.props.nonce,zIndexFix:!0,data:o({blockId:u.blockId,bannerId:i.adId},a.getBugData()),hasShowBug:a.hasShowBug()}),this.isAdtuneOpened=!0},t.prototype.closeAdtune=function(e){this.isAdtuneOpened=!1,e&&this.props.onClose&&this.props.onClose()},t.prototype.prepareLinks=function(){var e=this.props,t=e.adv,r=e.dataSource,i=e.rootNode,o=r.getClickMacro(),a=this.canUseClickMacro(),s=(0,n(99).listToArray)(i.querySelectorAll("a")),c={renderSize:(0,n(471).getElementRectSize)(this.props.blockNode)};(0,n(2).forEach)(s,(function(e){var i=e.href;if(0!==i.indexOf("tel:")&&!(0,n(1288).closestByAttribute)(e,"data-collection-link")){var s=(0,n(1332).extendUrl)(i,r.getAuxParams(t,c));i=a?"".concat(o).concat(encodeURIComponent(s)):s,e.href=i}}))},t.prototype.canUseClickMacro=function(){var e=this.props.dataSource.getClickMacro(),t=(0,n(26).checkBundleType)(n(26).bundleTypes.SSP),r=(0,n(1331).canUseClickMacro)(window)||t;return Boolean(e)&&(0,n(5).isString)(e)&&r},t.prototype.showClickConfirmation=function(){return a(this,void 0,void 0,(function(){var e,t,r,i,o,a=this;return s(this,(function(s){return this.isClickConfirmationOpened||(e=this.props,t=e.adv,r=e.dataSource,i=r.getLanguage(),o=(0,n(73).getElementInnerSize)(this.props.rootNode),(0,n(1444).showClickConfirmation)(this.props.rootNode,{size:o,language:i,url:t.url,cancelCallback:function(e){e.stopPropagation(),a.isClickConfirmationOpened=!1},confirmCallback:function(e){e.stopPropagation(),a.isClickConfirmationOpened=!1,a.performClick(e)}},this.props.nonce),this.isClickConfirmationOpened=!0),[2]}))}))},t}(n(629).Destroyable);t.AdController=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSvgSize=void 0;t.getSvgSize=function(e,t){var n=e.width/e.height,r=Math.max(1.1*e.width,t.width),i=Math.max(1.1*e.height,t.height),o=Math.max(i,r/n);return{height:o,width:Math.max(r,o*n)}}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("c88248b47",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImageStyles=void 0;var r=function(e){return Number(e.toFixed(8))};t.getImageStyles=function(e,t){var n=e.originWidth,i=e.containerWidth,o=e.containerHeight,a=e.bgPosition,s=e.ratio,c=Math.max(0,Math.min(1,a.x)),l=Math.max(0,Math.min(1,a.y)),u=function(e,t,n){return function(e,t,n,r){void 0===r&&(r=!0);r?t=e/n:e=t*n;return{width:e,height:t}}(e,t,n,n<=e/t)}(i,o,s),d=t?n*t:u.width,p=d/s,f=o-p,h=r((i-d)/d*c*100),v=r(f/p*l*100),m=r(d/i*100),g=r(m/s);return{transform:"translate(".concat(h,"%, ").concat(v,"%)"),transformOrigin:"".concat(100*c,"% ").concat(100*l,"%"),width:"".concat(m,"%"),paddingTop:"".concat(g,"%")}}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("j543ee4d7",e),t)}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("wa870df72",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHorizontalGradient=t.getVerticalGradient=t.getSquareGradient=void 0,t.getSquareGradient=function(e,t,n){return"linear-gradient(0deg,\n        rgba(".concat(e,", ").concat(t,", ").concat(n,", 1) 5%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.95) 30%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5) 45%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.1) 60%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0) 65%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0) 100%\n    )")},t.getVerticalGradient=function(e,t,n){return"linear-gradient(0deg,\n        rgba(".concat(e,", ").concat(t,", ").concat(n,", 1) 0%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.9) 15%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5) 30%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.1) 47%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0) 53%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0) 100%\n    )")},t.getHorizontalGradient=function(e,t,n){return"radial-gradient(ellipse farthest-corner at 100% 50%,\n        rgba(".concat(e,", ").concat(t,", ").concat(n,", 0),\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0) 43%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.1) 48%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.5) 57%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 0.9) 66%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 1) 70%,\n        rgba(").concat(e,", ").concat(t,", ").concat(n,", 1) 100%\n    )")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFontSize=t.getDetailsSize=void 0;var r=n(963),i=n(1457);t.getDetailsSize=function(e,t){var n=e.width,r=e.height;switch(void 0===t&&(t=!1),(0,i.getRatioType)(n,r)){case i.ZenRatio.HORIZONTAL:return{width:n*(t?.5:.4),height:r};case i.ZenRatio.VERTICAL:return{width:n,height:.6*r};default:return{width:n,height:.65*r}}},t.getFontSize=function(e){var t=e.width,n=e.height,i=(0,r.getLimitedLinearFunction)(32e3,13,19e4,16);return Math.ceil(i(t*n))}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("t8efa21c7",e),t)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CarouselItemController=void 0;var o=n(972),a=n(1157),s=n(1146),c=n(1299),l=n(1300),u=n(1259),d=n(1158),p=n(1260),f=n(1460),h=n(1249),v=n(1203),m=n(1261),g=n(1299),_=n(1364),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){e.prototype.init.call(this);var t=this.props,n=t.container,r=t.salt;this.initFeedBack(),this.adaptImages(),this.initPriceInfo(),this.addResource("legal-info-size",new p.Zen2LegalInfoCheckSize({container:n,salt:r})),this.addResource("warningSizeController",new h.WarningSizeController({container:n,salt:r})),this.addResource("check-rmp-button",new f.RmpButtonController({container:n,salt:r})),this.addResource("favicon-controller",new v.FaviconController({container:n,salt:r}))},t.prototype.initFeedBack=function(){var e=this.props,t=e.abuseUrl,n=e.container,r=e.salt,i=e.adContainer;this.addResource("feedback-popup",new u.Zen2FeedbackPopupClientCode({abuseUrl:t,container:n,salt:r})),this.addResource("feedback",new l.Zen2FeedbackClientCode({container:n,adContainer:i,salt:r,abuseUrl:t,getParentAlias:_}))},t.prototype.adaptImages=function(){var e=this.props.container;(0,o.getElementByData)("name",d.imageElements.imageAdaptive,e)&&(0,s.adaptImageToContainer)(e)},t.prototype.getContainer=function(){return(0,o.getElementByData)("name",c.carouselItemElements.container,this.props.container)},t.prototype.getAlias=function(e){return _(e,this.props.salt)},t.prototype.initPriceInfo=function(){var e=this.props,t=e.container,n=e.salt;(0,g.getItemElements)(t).priceContainer&&this.addResource("price-info-controller",new m.PriceInfoController({container:t,salt:n}))},t}(a.AbstractZen2BannerController);t.CarouselItemController=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.feedbackElementsMap=void 0;var r=n(1359),i=n(1360),o=n(1258),a=n(1459),s=n(1361),c=n(1302);t.feedbackElementsMap={feedbackContainer:"zen2-feedback-container",feedbackCompletedContainer:i.ZEN_FEEDBACK_COMPLETED_DATA_NAME,feedbackPopupButton:o.ZEN_FEEDBACK_POPUP_BUTTON_DATA_NAME,feedbackReason:c.ZEN_FEEDBACK_REASON_DATA_NAME,feedbackReasonsContainer:s.ZEN_FEEDBACK_REASONS_DATA_NAME,galleryFeedbackButton:"zen2-gallery-feedback-button",feedbackPopup:a.ZEN_FEEDBACK_POPUP_DATA_NAME,cancelFeedbackButton:r.ZEN_FEEDBACK_CANCEL_BUTTON_DATA_NAME}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("ta800df2b",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.feedbackPopupElements=void 0,t.feedbackPopupElements={ticker:"zen2-feedback-popup-ticker"}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("db9cfaaab",e),t)}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("kb680a86b",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rmpButtonElements=void 0,t.rmpButtonElements={container:"zen2-rmp-button-container",content:"zen2-rmp-button-content",button:"zen2-rmp-button",text:"zen2-rmp-button-text",icon:"zen2-rmp-button-icon"}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("d68d8e8ab",e),t)}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("hf49fa26b",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.priceInfoDataNames=void 0,t.priceInfoDataNames={container:"zen2-price-info-container",currentPrice:"zen2-price-info-current-price",oldPrice:"zen2-price-info-old-price",discount:"zen2-price-info-discount"}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("kaf3484ab",e),t)}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("gb5838beb",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sharePopupElementsDataNames=void 0,t.sharePopupElementsDataNames={copyButton:"zen2-share-popup-copy-button",sharePopupButton:"zen2-share-popup-button",sharePopupPopup:"zen2-share-popup"}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("ob58f626b",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUBSCRIBE_URL=t.CSRF_URL=t.subscribeButtonElement=void 0,t.subscribeButtonElement="zen2-subscribe-button",t.CSRF_URL="https://zen.yandex.ru/api/v3/launcher/stats-info?clid=300",t.SUBSCRIBE_URL="https://zen.yandex.ru/api/v4/stats/common?item_type=publisher&type=feed&event=feedback:favourite"},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("g1bf2f92b",e),t)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2ArticleBodyClientCode=void 0;var s=n(240),c=n(34),l=n(643),u=n(972),d=n(630),p=n(1129),f=n(628),h=n(1157),v=n(1203),m=n(1158),g=n(1260),_=n(1249),y=n(1465),b=n(1466);var C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){e.prototype.init.call(this);var t=this.props,n=t.container,r=t.salt;this.elements=function(e){var t=y.articleBodyElements.siteLink,n=a(y.articleBodyElements,["siteLink"]),r=(0,p.getElementsByDataFromMap)(n,e),i=(0,p.getElementsByDataFromMap)(m.imageElements,e),s=(0,d.getElementsByData)("name",t,e)||[];return o(o(o({},r),i),{siteLinkItems:s})}(n),this.addResource("legal-info-size",new g.Zen2LegalInfoCheckSize({container:n,salt:r})),this.addResource("warning-size",new _.WarningSizeController({container:n,salt:r})),this.addResource("favicon-controller",new v.FaviconController({container:n,salt:r}));var i=new f.RafSizeSensor(n);this.doOnDestroy((function(){return i.destroy()})),this.checkSizes();var s=(0,l.throttle)(this.checkSizes,1e3,this);i.addResizeHandler((function(e,t){s(),t()}))},t.prototype.checkSizes=function(){this.checkVerticalSizes()},t.prototype.checkVerticalSizes=function(){var e=this.elements,t=e.container,n=e.imageContainer,r=e.contentContainer;if(t&&n&&r&&t.dataset.layout===y.ArticleBodyLayout.twoColumn){var i=this.getBlockHeight(n);this.getBlockHeight(r)>i&&this.degradeTwoColumnBanner(i)}},t.prototype.degradeTwoColumnBanner=function(e){var t=this,n=this.elements,r=n.contentContainer,i=n.body,o=n.button,a=n.siteLinks,s=n.siteLinkItems;if(r){var c=this.getBlockHeight(r);c>e&&a&&s.length>0&&(s.reverse(),s.forEach((function(n){!t.isHideBlock(n)&&c>e&&(c-=t.getBlockHeight(n),t.hideBlock(n))})),!this.isHideBlock(a)&&s.every((function(e){return t.isHideBlock(e)}))&&(c-=this.getBlockHeight(a),this.hideBlock(a))),c>e&&o&&(c-=this.getBlockHeight(o),this.hideBlock(o)),c>e&&i&&(c-=this.getBlockHeight(i),this.hideBlock(i))}},t.prototype.getBlockHeight=function(e){var t=(0,s.getStyle)(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return(0,c.getBoundingClientRect)(e).height+n},t.prototype.hideBlock=function(e){var t=this.props.salt;e.classList.add(b("hide",t))},t.prototype.isHideBlock=function(e){var t=this.props.salt;return e.classList.contains(b("hide",t))},t.prototype.getContainer=function(){return(0,u.getElementByData)("name",y.articleBodyElements.container,this.props.container)},t.prototype.getAlias=function(e){return b(e,this.props.salt)},t}(h.AbstractZen2BannerController);t.Zen2ArticleBodyClientCode=C},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2ArticleRightClientCode=void 0;var s=n(100),c=n(2),l=n(240),u=n(34),d=n(643),p=n(972),f=n(630),h=n(1129),v=n(1157),m=n(1203),g=n(1158),_=n(1260),y=n(1467),b=n(1772),C=n(628),O=n(1468);var E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){e.prototype.init.call(this);var t=this.props,n=t.container,r=t.salt;this.elements=function(e){var t=y.articleRightElements.siteLinkItem,n=a(y.articleRightElements,["siteLinkItem"]),r=(0,h.getElementsByDataFromMap)(n,e),i=(0,f.getElementsByData)("name",t,e)||[],s=(0,h.getElementsByDataFromMap)(g.imageElements,e);return o(o(o({},r),s),{siteLinkItems:i})}(n),this.sizeSensor||(this.sizeSensor=new C.RafSizeSensor(this.props.container)),this.addResource("legal-info-size",new _.Zen2LegalInfoCheckSize({container:n,salt:r})),this.addResource("favicon-controller",new m.FaviconController({container:n,salt:r}));var i=(0,d.throttle)(this.checkSizes,1e3,this);i(),this.sizeSensor.addResizeHandler((function(e,t){i(),t()}))},t.prototype.checkSizes=function(){this.checkVerticalSize()},t.prototype.checkVerticalSize=function(){var e=this,t=this.elements,n=t.container,r=t.siteLinkItems,i=t.siteLinks,o=t.button,a=t.importantWarning;if(n){var l=this.getBannerHeight();l>b.BANNER_MAX_HEIGHT&&i&&r.length>0&&(r.reverse(),(0,c.forEach)(r,(function(t){!e.isHideBlock(t)&&l>b.BANNER_MAX_HEIGHT&&(l-=e.getBlockHeight(t),e.hideBlock(t))})),!this.isHideBlock(i)&&(0,s.every)(r,(function(t){return e.isHideBlock(t)}))&&(l-=this.getBlockHeight(i),this.hideBlock(i))),l>b.BANNER_MAX_HEIGHT&&o&&(l-=this.getBlockHeight(o),this.hideBlock(o)),l>b.BANNER_MAX_HEIGHT&&a&&this.shiftWarningOnImage()}},t.prototype.getBlockHeight=function(e){var t=(0,l.getStyle)(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return(0,u.getBoundingClientRect)(e).height+n},t.prototype.getBannerHeight=function(){var e=this.elements,t=e.imageContainer,n=e.content,r=0;return t&&(r+=this.getBlockHeight(t)),n&&(r+=this.getBlockHeight(n)),r},t.prototype.hideBlock=function(e){e.classList.add(this.getAlias("hide"))},t.prototype.isHideBlock=function(e){return e.classList.contains(this.getAlias("hide"))},t.prototype.shiftWarningOnImage=function(){var e=this.elements,t=e.importantWarning,n=e.imageContainer,r=e.image,i=e.container;if(i&&r&&n&&t){i.classList.add(this.getAlias("importantOnImage"));var o=this.getBlockHeight(t),a=this.getBlockHeight(r);r.style.setProperty("height","".concat(a-o,"px"))}},t.prototype.getAlias=function(e){return O(e,this.props.salt)},t.prototype.getContainer=function(){return(0,p.getElementByData)("name",y.articleRightElements.container,this.props.container)},t.prototype.destroy=function(){var t;null===(t=this.sizeSensor)||void 0===t||t.destroy(),e.prototype.destroy.call(this)},t}(v.AbstractZen2BannerController);t.Zen2ArticleRightClientCode=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BANNER_MAX_HEIGHT=void 0,t.BANNER_MAX_HEIGHT=600},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2ArticleTopBannerController=void 0;var o=n(629),a=n(240),s=n(643),c=n(1129),l=n(628),u=n(1300),d=n(1259),p=n(1261),f=n(1469),h=n(1774);var v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this.props,t=e.container,n=e.salt;this.elements=function(e){return(0,c.getElementsByDataFromMap)(f.zen2ArticleTopBannerElements,e)}(t),this.initFeedback(),this.addResource("price-info-controller",new p.PriceInfoController({container:t,salt:n})),this.initSizeSensor()},t.prototype.initFeedback=function(){var e=this.props,t=e.abuseUrl,n=e.container,r=e.salt,i=this.elements.container;this.addResource("feedback-popup-controller",new d.Zen2FeedbackPopupClientCode({abuseUrl:t,container:n,salt:r})),i&&this.addResource("feedback-controller",new u.Zen2FeedbackClientCode({container:n,adContainer:i,salt:r,abuseUrl:t,getParentAlias:h}))},t.prototype.initSizeSensor=function(){var e=this,t=this.props.container;this.checkSize();var n=new l.RafSizeSensor(t);this.doOnDestroy((function(){return n.destroy()}));var r=(0,s.throttle)((function(){return e.checkSize()}),1e3);n.addResizeHandler((function(e,t){r(),t()}))},t.prototype.checkSize=function(){var e=this.elements,t=e.button,n=e.price,r=e.siteLinks,i=e.content,o=e.snippet,a=e.importantWarning;if(i){var s=i.scrollHeight-i.clientHeight;s>0&&t&&(s-=this.getBlockHeight(t),this.hide(t)),s>0&&n&&(s-=this.getBlockHeight(n),this.hide(n)),s>0&&r&&(s-=this.getBlockHeight(r),this.hide(r)),s>0&&a&&o&&this.hide(o)}},t.prototype.getBlockHeight=function(e){var t=(0,a.getStyle)(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return e.offsetHeight+n},t.prototype.hide=function(e){var t=this.props.salt;e.classList.add(h("hide",t))},t}(o.Destroyable);t.Zen2ArticleTopBannerController=v},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("c3da4c18b",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zen2Elements=void 0;var r=n(1464),i=n(1463),o=n(1359),a=n(1302),s=n(1361),c=n(1360),l=n(1258),u=n(1158);t.zen2Elements={bodyContainer:"zen2-body-container",buttonContainer:"zen2-button-container",cancelFeedbackButton:o.ZEN_FEEDBACK_CANCEL_BUTTON_DATA_NAME,defaultImage:"zen2-default-image",dislikeButton:i.ZEN_DISLIKE_BUTTON_DATA_NAME,feedbackCompletedContainer:c.ZEN_FEEDBACK_COMPLETED_DATA_NAME,feedbackContainer:"zen2-feedback-container",feedbackPopupButton:l.ZEN_FEEDBACK_POPUP_BUTTON_DATA_NAME,feedbackReasons:a.ZEN_FEEDBACK_REASON_DATA_NAME,feedbackReasonsContainer:s.ZEN_FEEDBACK_REASONS_DATA_NAME,galleryFeedbackButton:"zen2-gallery-feedback-button",headerContainer:"zen2-header-container",horizontalLayoutContainer:"zen2-horizontal-container",horizontalRightColumn:"zen2-horizontal-right-column",imageContainer:"zen2-image-container",imageLayout:"zen2-image-layout",imageWrapper:u.imageElements.imageWrapper,imageWrapperShadow:"zen2-image-wrapper-shadow",likeButton:r.ZEN_LIKE_BUTTON_DATA_NAME,siteLinksContainer:"zen2-site-links-container",touchMoreButton:"zen2-touch-button",touchMoreButtonContainer:"zen2-touch-button-wrapper",verticalLayoutContainer:"zen2-vertical-container",warningContainer:"zen2-warning",warningImportant:"zen2-important-warning",warningImportantContainer:"zen2-important-warning-container",subscribeButton:"zen2-subscribe"}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2DesktopController=void 0;var a=n(2),s=n(240),c=n(34),l=n(493),u=n(643),d=n(972),p=n(630),f=n(1129),h=n(628),v=n(1157),m=n(1462),g=n(1203),_=n(1146),y=n(1300),b=n(1259),C=n(1158),O=n(1261),E=n(1303),A=n(1365),I=n(1366),S=n(1249),T=n(1367),w=n(1470);var R=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSmallBanner=!1,t}return i(t,e),t.prototype.init=function(){var t=this;e.prototype.init.call(this);var n=this.props,r=n.container,i=n.salt,a=n.abuseUrl;if(this.elements=function(e){return o(o({},(0,f.getElementsByDataFromMap)(T.elements,e)),{favicons:(0,p.getElementsByData)("name",m.faviconElements.container,e)})}(r),this.initFeedback(),this.elements.adContainer){var s=this.elements.adContainer.dataset.breakpoint;s&&(0,l.isPositiveFiniteNumber)(Number(s))&&(this.adaptiveBreakpoint=Number(s))}this.addResource("warning-size-controller",new S.WarningSizeController({container:r,salt:i})),this.addResource("price-info-controller",new O.PriceInfoController({container:r,salt:i})),this.addResource("subscribe-btn-controller",new I.SubscribeButtonController({container:r,salt:i})),this.addResource("reaction-controller",new E.ReactionsController({container:r,salt:i,abuseUrl:a,onDisliked:function(){var e,n;null===(e=t.feedbackController)||void 0===e||e.toggleFeedbackView(),null===(n=t.feedbackController)||void 0===n||n.toggleFeedbackPopupButton()}})),this.addResource("share-popup",new A.Zen2SharePopupClientCode({container:r,salt:i})),this.initSizeSensor(),this.initFavicons(),this.adaptImages()},t.prototype.initFeedback=function(){var e=this.props,t=e.abuseUrl,n=e.container,r=e.salt,i=this.elements.adContainer;this.addResource("feedback-popup-controller",new b.Zen2FeedbackPopupClientCode({abuseUrl:t,container:n,salt:r})),i&&(this.feedbackController=new y.Zen2FeedbackClientCode({container:n,adContainer:i,salt:r,abuseUrl:t,getParentAlias:w}),this.addResource("feedback-controller",this.feedbackController))},t.prototype.hide=function(e){e.classList.add(this.getAlias("hide"))},t.prototype.getBlockHeight=function(e){var t=(0,s.getStyle)(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return(0,c.getBoundingClientRect)(e).height+n},t.prototype.isNeedDegrade=function(){var e=this.elements,t=e.contentContainer,n=e.imageLayout;return!(!t||!n||this.isSmallBanner)&&this.getBlockHeight(t)>this.getBlockHeight(n)+8},t.prototype.checkSize=function(){var e=this.elements,t=e.priceContainer,n=e.sitelinksContainer,r=this.getAlias("hide");this.isSmallBanner?(n&&n.classList.contains(r)&&n.classList.remove(r),t&&t.classList.contains(r)&&t.classList.remove(r)):(this.isNeedDegrade()&&n&&this.hide(n),this.isNeedDegrade()&&t&&this.hide(t))},t.prototype.checkAdaptive=function(){var e=this.elements.adContainer;e&&void 0!==this.adaptiveBreakpoint&&(e.offsetWidth>=this.adaptiveBreakpoint&&this.isSmallBanner?this.setIsSmall(!1):e.offsetWidth<this.adaptiveBreakpoint&&!this.isSmallBanner&&this.setIsSmall(!0))},t.prototype.initSizeSensor=function(){var e=this,t=this.props.container;this.checkSize(),this.checkAdaptive();var n=new h.RafSizeSensor(t);this.doOnDestroy((function(){return n.destroy()}));var r=(0,u.throttle)((function(){return e.checkSize()}),1e3);n.addResizeHandler((function(t,n){r(),e.checkAdaptive(),n()}))},t.prototype.adaptImages=function(){var e=this.props.container;(0,d.getElementByData)("name",C.imageElements.imageAdaptive,e)&&(0,_.adaptImageToContainer)(e)},t.prototype.initFavicons=function(){var e=this,t=this.props.salt;this.elements.favicons&&(0,a.forEach)(this.elements.favicons,(function(n){e.addResource("favicon-controller",new g.FaviconController({container:n,salt:t}))}))},t.prototype.setIsSmall=function(e){var t=this.elements,n=t.adContainer,r=t.image,i=t.imageContainer,o=t.imageWrapper,a=t.layout,s=Number(null==r?void 0:r.dataset.ratio),c=this.getAlias("smallWidth");if(n&&this.isSmallBanner!==e){if((e&&!n.classList.contains(c)||!e&&n.classList.contains(c))&&n.classList.toggle(c),a&&i&&o&&(0,l.isPositiveFiniteNumber)(s)){if(e){var u=1/s*100;o.style.setProperty("padding-top","".concat(u,"%"));var d=a.clientWidth/s>400?"".concat(400*s,"px"):"100%";i.style.setProperty("width",d)}else o.style.removeProperty("padding-top"),i.style.removeProperty("width");this.adaptImages()}this.isSmallBanner=e}},t.prototype.getContainer=function(){return(0,d.getElementByData)("name",T.elements.adContainer,this.props.container)},t.prototype.getAlias=function(e){return w(e,this.props.salt)},t}(v.AbstractZen2BannerController);t.Zen2DesktopController=R},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.VideoClientCode=void 0;var a=n(452),s=n(1368),c=n(972),l=n(1779),u=n(25),d=n(35),p=n(1472),f=n(1158),h=n(1473),v=n(1216),m=n(1474),g=n(15),_=n(1262),y=n(472),b=n(555),C=function(e){function t(t){var n=e.call(this)||this;n.props=t;var r=new b.Latch;n.addDestroyHandler((function(){r.dispatch(void 0)}));var i=n.props,a=i.container,l=i.dataSource,C=i.playbackParameters,O=n.props.videoParams,E=O.vastBase64,A=O.urlParams,I=O.url,S=O.hitLogId,T=O.vast,w=(0,v.findRehydratedElement)(a,"slot"),R=(0,c.getElementByData)("name",h.ZEN_VIDEO_IN_COMBO_VIDEO_SLOT_ELEMENT_DATA_NAME,a),P=(0,v.findRehydratedElement)(a,"packshot"),k=(0,c.getElementByData)("name",f.imageElements.imageWrapper,a)||(0,c.getElementByData)("name",f.imageElements.imageStub,a);if(w){(0,p.logVideoSizes)(w,"zen2");var M=function(){g.logger.traceLog({},"OpenZenVideoInTgoPackshotBySlotClick"),n.usePackshot({packshot:P,url:I})};w.addEventListener("click",M),n.addDestroyHandler((function(){w.removeEventListener("click",M)}))}if(!w||!R)return g.logger.traceLog({},"ZenVideoInTgoSlotOrVideoSlotIsNotFound"),n;var L={};E?L.vastBase64=E:L.vast=T,R.volume=0;var N=l.getVideoCallbacks(),D={format:"zen",impId:l.getImpId(),pageId:l.getPageId(),activeTestIds:A["pcode-active-testids"],actualFormat:A["actual-format"],hitLogId:S,version:57046,testtag:A["test-tag"],testIds:(0,u.getUaasConfig)().testIds,vast:(0,d.isPercent)(1)?E||T:void 0},B=new s.AdLoaderPlayer({slot:w,videoSlot:R,adLoaderConfig:L,loopVideoAfterPlayback:!0,onInit:function(e){n.publicController=e,n.addDestroyHandler((function(){e.stopAd(),n.publicController=void 0})),n.publicController.setAdVolume(0),N&&N.onVideoInit&&N.onVideoInit(e),n.addDestroyHandler(e.subscribe("AdStarted",(function(){var e;null===(e=null==N?void 0:N.onAdStart)||void 0===e||e.call(N)}))),n.addDestroyHandler(B.adLoaderPlayerStatus.subscribeValueConditionOnce((function(e){return"completed"===e}),(function(){n.usePackshot({packshot:P,url:I,isEndPackshot:!0})})));var t=function(){var e,t=null===(e=n.publicController)||void 0===e?void 0:e.getAdPlayingState();!n.packshotClientCode||"play"!==t&&"end"!==t||n.packshotClientCode.setVisibility(!1)};n.addDestroyHandler(e.subscribe("AdPlayingStateChange",t)),R.addEventListener("play",t),n.addDestroyHandler((function(){R.removeEventListener("play",t)}))},logParams:D,playbackParameters:o(o({},C),{clickThroughCallback:function(e){var t=e.url;(0,e.onHandle)(),n.usePackshot({packshot:P,url:t})}})});return n.addDestroyHandler((0,_.combineValueSignals)([B.isAdPodStarted,B.adLoaderPlayerStatus],(function(e,t){return!!e&&"completed"!==t}),(function(e){(0,y.setStyle)(w,{opacity:e?"1":"0"}),k&&(0,y.setStyle)(k,{display:e?"none !important":void 0,margin:e?"0 !important":void 0})}))),(0,m.rehydrateZenVideoTimer)({container:a,adLoaderPlayer:B,destroyLatch:r}),n.addDestroyHandler((function(){B.destroy()})),n}return i(t,e),t.prototype.usePackshot=function(e){var t=this,n=e.packshot,r=e.url,i=e.isEndPackshot,o=void 0!==i&&i,a=function(){o?t.packshotClientCode.showEndPackshot():t.packshotClientCode.setVisibility(!0)};if(this.packshotClientCode)a();else if(n&&this.publicController){var s=new l.PackshotClientCode({packshot:n,url:r,publicController:this.publicController});this.packshotClientCode=s,this.addDestroyHandler((function(){s.destroy()})),a()}},t}(a.Destroyable);t.VideoClientCode=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isUnsignedFiniteNumber=void 0,t.isUnsignedFiniteNumber=function(e){return"number"==typeof e&&isFinite(e)&&e>=0}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.PackshotClientCode=void 0;var o=n(315),a=n(15),s=n(1216),c=n(629),l=n(472),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e,t=this,n=this.props,r=n.packshot,i=n.url,c=n.publicController;this.publicController=c,this.packshot=r;var l=new o.Url({host:i.toString(),params:(e={},e["asset-click"]="packshot",e)}).getUrl(),u=(0,s.findRehydratedElement)(r,"packshot-button");this.backButton=(0,s.findRehydratedElement)(r,"packshot-backButton"),u&&this.addEventListener(u,"click",(function(){a.logger.traceLog({},"ZenVideoInTgoPackshotClickThru"),window.open(l,"_blank")})),this.backButton&&this.addEventListener(this.backButton,"click",(function(){a.logger.traceLog({},"ZenVideoInTgoPackshotReturn"),t.setVisibility(!1),c.resumeAd()}))},t.prototype.setVisibility=function(e){(0,l.setStyle)(this.packshot,{display:e?"flex":"none"}),e&&this.publicController.pauseAd()},t.prototype.showEndPackshot=function(){this.backButton&&(0,l.setStyle)(this.backButton,{display:"none"}),this.setVisibility(!0)},t}(c.Destroyable);t.PackshotClientCode=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMobileAppProps=t.isMobileApp=t.getLimit=t.getCommon=t.getSettings=t.getDirectTitle=void 0;var r=n(964),i=n(492),o=n(1432),a=n(32),s=n(975),c=n(1342),l=n(518),u=n(1781);function d(e){return e.addInfo&&"mobile-app"===e.addInfo.type}t.getDirectTitle=function(e,t){var n=(e.direct||{}).directTitle;if(n){var o=n.url,a=n.userCurrency,l=n.title,u=(0,s.isCurrencyTitle)(a),d=(0,c.useExperiments)().isAdblock,p=u&&!d&&a;return{title:l||(0,r.i18nCommon)("ADVERTISEMENT",t),url:o,tooltip:(0,i.i18nBanners)("YANDEX_DIRECT",t),currency:p}}},t.getSettings=function(e){if(e.settings){var t=(0,a.getObjectKeys)(e.settings)[0];if(t)return e.settings[t]}return{}},t.getCommon=function(e){return e.common||{}},t.getLimit=function(e){var t=e.limit;return t?parseInt(t,10):void 0},t.isMobileApp=d,t.getMobileAppProps=function(e,t,n,a,s){var c=a.pixel_ratio,p=a.bandwidth;if(d(e)){var f,h=e.addInfo,v=e.skipPictures,m=e.domain,g=h;g.icon&&g.icon.length&&!Number(v)&&(f=(0,l.selectImageForContainerSize)(g.icon,t,c,p));var _=(0,i.i18nBanners)("FREE",s||1),y=(0,o.camelizeKeys)(g),b=y.callToAction,C=y.reviewCount,O=y.callToActionUrl,E=y.price,A=y.priceCurrencySymbol,I=y.free,S=y.rating,T=y.name,w=E?E+(A||"\u0440."):void 0;return{icon:f,icons:y.icon,caption:b||(0,r.i18nCommon)("GO",s||1),reviewCount:C&&C>0?C:void 0,url:O,price:E,priceCurrencySymbol:A,free:I,rating:S&&S>3.5?S:0,priceCaption:I?_:w,platform:(0,u.getRmpPlatformName)(m),priceWithCurrency:w,callToActionUrl:O,name:T,callToAction:b}}}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.getRmpPlatformName=t.RmpPlatformName=void 0,function(e){e["ANDROID"]="android",e["IOS"]="ios"}(r=t.RmpPlatformName||(t.RmpPlatformName={}));var i=["play.google.com","google play"];t.getRmpPlatformName=function(e){var t=e.toLowerCase();return i.indexOf(t)>-1?r.ANDROID:r.IOS}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventLogger=void 0;var r=function(){function e(e){this.logger=e}return e.createInstance=function(t){return this.instance||(this.instance=new e(t)),this.instance.clearBannerContext(),this.instance},e.prototype.createBannerContext=function(e){e&&(this.bannerId=e)},e.prototype.getBannerContext=function(e){var t=this;return e=e||this.bannerId,{addParams:function(n){t.addParams(n,e)}}},e.prototype.clearBannerContext=function(){this.bannerId=void 0},e.prototype.addParams=function(e,t){var n;null===(n=this.logger)||void 0===n||n.addParams(e,t)},e.clearInstance=function(){delete this.instance},e.getInstance=function(){return this.instance},e.hasInstance=function(){return Boolean(this.instance)},e}();t.EventLogger=r},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Zen2DesktopControllerExp=void 0;var a=n(240),s=n(34),c=n(643),l=n(972),u=n(965),d=n(1129),p=n(628),f=n(1157),h=n(1203),v=n(1146),m=n(1158),g=n(1261),_=n(1303),y=n(1365),b=n(1366),C=n(1249),O=n(971),E=n(961),A=n(1369),I=n(1367),S=n(1470),T=n(1370);var w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var t=this;e.prototype.init.call(this);var n=this.props,r=n.container,i=n.salt,o=n.abuseUrl;this.elements=function(e){return(0,d.getElementsByDataFromMap)(I.elements,e)}(r),this.initFeedback(),this.addResource("warning-size-controller",new C.WarningSizeController({container:r,salt:i})),this.addResource("price-info-controller",new g.PriceInfoController({container:r,salt:i})),this.addResource("favicon-controller",new h.FaviconController({container:r,salt:i})),this.addResource("subscribe-btn-controller",new b.SubscribeButtonController({container:r,salt:i})),this.addResource("reaction-controller",new _.ReactionsController({container:r,salt:i,abuseUrl:o,onDisliked:function(){t.visibleAdtuneThankYouContainer()}})),this.addResource("share-popup",new y.Zen2SharePopupClientCode({container:r,salt:i})),this.initSizeSensor(),this.adaptImages()},t.prototype.visibleAdtuneThankYouContainer=function(){var e=this.elements,t=e.adtuneThankYouContainer,n=e.adtuneFeedbackContainer,r=this.props,i=r.salt,a=r.abuseUrl,s=r.language,c=void 0===s?"1":s;if(t){(null==n?void 0:n.classList.contains(T("adtuneFeedback_visible",i)))&&n.classList.remove(T("adtuneFeedback_visible",i)),t.classList.add(T("adtuneFeedback_visible",i));var l=o({},O.initialState.content[21]);(0,u.chooseNewAdtuneOption)(l.reasonId,l.actionId,(0,E.getText)(l.textKey,"popup-small",c),a)}},t.prototype.initFeedback=function(){var e=this.props,t=e.abuseUrl,n=e.container,r=e.salt,i=e.adv,o=e.dataSource,a=this.elements.adContainer;this.addResource("feedback-popup-controller",new A.Zen2AdtuneClientCode({abuseUrl:t,container:a||n,salt:r,adv:i,dataSource:o,getAlias:T,getParentAlias:S,indent:{right:"55px !important"}}))},t.prototype.hide=function(e){var t=this.props.salt;e.classList.add(S("hide",t))},t.prototype.getBlockHeight=function(e){var t=(0,a.getStyle)(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return(0,s.getBoundingClientRect)(e).height+n},t.prototype.isNeedDegrade=function(){var e=this.elements,t=e.contentContainer,n=e.imageContainer;return!(!t||!n)&&this.getBlockHeight(t)>this.getBlockHeight(n)+8},t.prototype.checkSize=function(){var e=this.elements,t=e.priceContainer,n=e.sitelinksContainer;this.isNeedDegrade()&&n&&this.hide(n),this.isNeedDegrade()&&t&&this.hide(t)},t.prototype.initSizeSensor=function(){var e=this,t=this.props.container;this.checkSize();var n=new p.RafSizeSensor(t);this.doOnDestroy((function(){return n.destroy()}));var r=(0,c.throttle)((function(){return e.checkSize()}),1e3);n.addResizeHandler((function(e,t){r(),t()}))},t.prototype.adaptImages=function(){var e=this.props.container;(0,l.getElementByData)("name",m.imageElements.imageAdaptive,e)&&(0,v.adaptImageToContainer)(e)},t.prototype.getContainer=function(){return(0,l.getElementByData)("name",I.elements.adContainer,this.props.container)},t.prototype.getAlias=function(e){return S(e,this.props.salt)},t}(f.AbstractZen2BannerController);t.Zen2DesktopControllerExp=w},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.CarouselItemControllerExp=void 0;var o=n(972),a=n(1157),s=n(1146),c=n(1158),l=n(1260),u=n(1460),d=n(1249),p=n(1369),f=n(1299),h=n(34),v=n(1203),m=n(1476),g=n(1364),_=n(1370),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var t=this.props,n=t.container,r=t.salt;e.prototype.init.call(this),this.initFeedBack(),this.adaptImages(),this.addResource("legal-info-size",new l.Zen2LegalInfoCheckSize({container:n,salt:r})),this.addResource("warningSizeController",new d.WarningSizeController({container:n,salt:r})),this.addResource("check-rmp-button",new u.RmpButtonController({container:n,salt:r})),this.addResource("favicon-controller",new v.FaviconController({container:n,salt:r}))},t.prototype.initFeedBack=function(){var e=this.props,t=e.abuseUrl,n=e.container,r=e.salt,i=e.dataSource,o=e.adv,a=(0,f.getItemElements)(n).feedbackPopupButton,s=(0,h.getBoundingClientRect)(n),c=(0,h.getBoundingClientRect)(a),l=g("overlayZen",r),u=c.bottom-s.top+m.POPUP_TOP_OFFSET_FROM_KEBAB,d=o.isFirst?{top:"".concat(u,"px !important"),left:"10px !important"}:{top:"".concat(u,"px !important"),right:"10px !important"},v=o.isFirst?{top:"".concat(u,"px !important"),left:"".concat(s.width+232-s.width+10-24,"px !important")}:{top:"".concat(u,"px !important"),right:"10px !important"};this.addResource("feedback-popup",new p.Zen2AdtuneClientCode({abuseUrl:t,container:n,salt:r,getAlias:_,getParentAlias:g,dataSource:i,adv:o,indent:d,closeButtonIndent:v,className:l}))},t.prototype.getContainer=function(){return(0,o.getElementByData)("name",f.carouselItemElements.container,this.props.container)},t.prototype.getAlias=function(e){return g(e,this.props.salt)},t.prototype.adaptImages=function(){var e=this.props.container;(0,o.getElementByData)("name",c.imageElements.imageAdaptive,e)&&(0,s.adaptImageToContainer)(e)},t}(a.AbstractZen2BannerController);t.CarouselItemControllerExp=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseZen2ThemeClient=void 0;var r=n(1304);t.parseZen2ThemeClient=function(e){return{platform:e.getAttribute("data-platform")||r.Zen2ThemePlatform.TOUCH}}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("e500acbab",e),t)}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("j83e1f7e7",e),t)}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("d3841bf79",e),t)}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("b3421a79",e),t)}},function(e,t,n){"use strict";var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getAdaptiveAds=t.getLayoutConfig=t.getSettings=t.FIXED_FORMATS=void 0;var i=n(1204),o=n(1475),a=n(1342),s=n(674),c=n(1439);function l(e){if(!e.interscroller)return{};var t="touch"===(0,a.useExperiments)().device,n=(0,o.useAds)().length,r=(0,s.useLayoutConfig)(),c={bannerBorder:!0,borderColor:"#d9d9d9",layout:"grid",measurer:"interscroller"};if(t){var l=i.INTERSCROLLER_MOBILE_SETTINGS.innerAdPadding,u=i.INTERSCROLLER_MOBILE_SETTINGS.aspectRatio,d=i.INTERSCROLLER_MOBILE_SETTINGS.outerPadding;c.advSpacing=l,c.limit=Math.min(n,2);var p,f,h=r.width/r.win_width,v=2*d,m=void 0;if(r.win_width>r.win_height)m=(p=r.win_height*h-v)>(f=(r.width-v-l)/2)?f:p;else m=(p=r.width-v)>(f=(r.win_height*h-v-l)/2)?f:p;c.advMinWidth=m,c.advMinHeight=m/u}else{var g=i.INTERSCROLLER_DESKTOP_SETTINGS.adHeight,_=i.INTERSCROLLER_DESKTOP_SETTINGS.minAspectRatio,y=i.INTERSCROLLER_DESKTOP_SETTINGS.interAdPadding;c.advMinHeight=g,c.advMinWidth=g*_,c.advSpacing=y,c.limit=(n%2?n-1:n)||1}return c}t.FIXED_FORMATS={"240x400":{layoutConfig:{width:240,height:400,fixed:!0},settings:{limit:2}},"300x300":{layoutConfig:{width:300,height:300,fixed:!0},settings:{limit:2}},"320x100":{layoutConfig:{width:320,height:100,fixed:!0},settings:{limit:1}},"1000x120":{layoutConfig:{width:1e3,height:120,fixed:!0},settings:{limit:3}},"300x250":{layoutConfig:{width:300,height:250,fixed:!0},settings:{limit:1}},"300x600":{layoutConfig:{width:300,height:600,fixed:!0},settings:{limit:2}},"970x90":{layoutConfig:{width:970,height:90,fixed:!0},settings:{limit:2}},"160x600":{layoutConfig:{width:160,height:600,fixed:!0},settings:{limit:2}},"728x90":{layoutConfig:{width:728,height:90,fixed:!0},settings:{limit:1}},"336x280":{layoutConfig:{width:336,height:280,fixed:!0},settings:{limit:1}},"970x250":{layoutConfig:{width:970,height:250,fixed:!0},settings:{limit:4}},"300x500":{layoutConfig:{width:300,height:500,fixed:!0},settings:{limit:2}},"250x250":{layoutConfig:{width:250,height:250,fixed:!0},settings:{limit:1}},"200x300":{layoutConfig:{width:200,height:300,fixed:!0},settings:{limit:1}},"480x320":{layoutConfig:{width:480,height:320,fixed:!0},settings:{limit:2}},"400x240":{layoutConfig:{width:400,height:240,fixed:!0},settings:{limit:2}},"320x50":{layoutConfig:{width:320,height:50,fixed:!0},settings:{limit:1}},horizontal:{layoutConfig:{},settings:{layout:"horizontal"}},horizontal0318:{layoutConfig:{},settings:{layout:"horizontal"}}},t.getSettings=function(){var e=(0,o.useSettings)(),n=(0,c.getFormatName)(e);return r(r(r({},e),"320x50"===n?{limit:1,maxWidth:420}:n&&t.FIXED_FORMATS[n]&&t.FIXED_FORMATS[n].settings||{}),l(e))},t.getLayoutConfig=function(e){var n=(0,c.getFormatName)(e),i=(0,s.useLayoutConfig)();return r(r({},i),"320x50"===n?!e.interscroller&&{width:320,w:320,height:50,h:50}||{}:!e.interscroller&&n&&t.FIXED_FORMATS[n]&&t.FIXED_FORMATS[n].layoutConfig||{})},t.getAdaptiveAds=function(e){var t=(0,o.useAds)();return"modernAdaptive"===((0,c.getFormatName)(e)||"")?t.slice(0,1):t}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.PhoneClientCode=void 0;var o=n(629),a=n(711),s=n(630),c=n(235),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this.props,t=e.container,n=e.callUrl,r=((0,s.getElementsByData)("name","phone-number",t)||[])[0],i=((0,s.getElementsByData)("name","phone-call",t)||[])[0],o=((0,s.getElementsByData)("name","phone-copy",t)||[])[0];i&&this.addEventListener(i,"click",(function(){n&&((0,a.isNativeSendBeaconSupported)(window)?navigator.sendBeacon(n):(0,c.request)({url:n,method:"get",headers:{},withCredentials:!0}))})),o&&r&&this.addEventListener(o,"click",(function(){!function(e){var t=document.createElement("textarea"),n=window.pageYOffset||document.documentElement.scrollTop;t.style.fontSize="12pt",t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",t.style.top="".concat(n,"px"),t.value=e,document.body.appendChild(t),t.select(),t.setSelectionRange(0,t.value.length);try{document.execCommand("copy")}catch(e){}document.body.removeChild(t)}(r.innerText)}))},t}(o.Destroyable);t.PhoneClientCode=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IMAGE_GALLERY_MIN_HEIGHT=t.IMAGE_GALLERY_MIN_WIDTH=t.ImageGalleryIndicator=t.IMAGE_GALLERY_INDICATOR_NAME=void 0,t.IMAGE_GALLERY_INDICATOR_NAME="imageGalleryIndicator",function(e){e["STORIES"]="stories",e["DOTS"]="dots"}(t.ImageGalleryIndicator||(t.ImageGalleryIndicator={})),t.IMAGE_GALLERY_MIN_WIDTH=150,t.IMAGE_GALLERY_MIN_HEIGHT=100},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("x9afe9c4f",e),t)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.destroyShoppingButtonClientCode=t.initShoppingButtonClientCode=t.ShoppingButtonController=void 0;var o=n(629),a=n(656),s=n(498),c=n(972),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){e.prototype.init.call(this);var t=this.props.container,n=t.getAttribute("id"),r=t.dataset.hasOwnProperty("animated");n&&r&&((0,a.addObserver)(n,(function(e){var n=e.inScreen;(0,s.setAttributes)(t,{"data-animated":n?"running":null})}),t.parentElement),this.doOnDestroy((function(){return(0,a.removeObserver)(n,t.parentElement)})))},t}(o.Destroyable);t.ShoppingButtonController=l;var u={};t.initShoppingButtonClientCode=function(e,t){var n=(0,c.getElementByData)("name","shopping-button",e);n&&(u[t]=new l({container:n}))},t.destroyShoppingButtonClientCode=function(e,t){var n;null===(n=u[t])||void 0===n||n.destroy(),u[t]=void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.metricaGoalClickListener=void 0;var r=n(251),i=n(1796),o=n(24),a=function(e){var t=e.split(":"),n=t[0],r=t[1];return{counterID:Number(n),goalName:r}};t.metricaGoalClickListener=function(e,t,n){void 0===t&&(t=i.BUTTON_METRIKA_ATTR),void 0===n&&(n=a);var s="data-".concat(t),c=e.querySelector("[".concat(s,"]"));if(c){var l=c.getAttribute(s);if(l){var u=n(l),d=u.goalName,p=u.counterID;d&&p&&(0,o.on)(c,"click",(function(){(0,r.requestCounter)({id:p},(function(e){e.reachGoal(d)}))}))}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_MARGIN_TOP=t.FULLSCREEN_DARK_WARNING_COLOR=t.BUTTON_METRIKA_ATTR=void 0,t.BUTTON_METRIKA_ATTR="button-metrika",t.FULLSCREEN_DARK_WARNING_COLOR="#FFFFFF40",t.DEFAULT_MARGIN_TOP=8},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initLeadFormClientCode=void 0;var r=n(1798);t.initLeadFormClientCode=function(e){var t=e.querySelector("[data-leadButton]");t&&t.addEventListener("click",(function(e){e.preventDefault(),(0,r.showLeadForm)(document.body,{url:t.href,protectNode:!0})}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showLeadForm=void 0;t.showLeadForm=function(e,t){var r=t.url,i=t.nonce,o=t.protectNode;return new Promise((function(e){n(1799)((function(t){e(t.render)}),(function(e){return n(15).logger.error(e,"LeadForm bundle loading error")}))})).then((function(t){var n=document.createElement("div");n.style.zIndex="2147483647",n.style.position="fixed",n.style.top="0",n.style.left="0",n.style.right="0",n.style.bottom="0",n.style.opacity="0",n.style.transition="opacity 0.5s ease-out",n.setAttribute("data-leadForm","true"),e.appendChild(n);t({url:r,protectNode:o=o,closeCallback:function(){n.style.opacity="0",setTimeout((function(){e.removeChild(n)}),500)}},n,i),setTimeout((function(){n.style.opacity="1"}),50)}))}},function(e,t,n){var r,i,o=!1;function a(){r=[],n.e(33).then(function(){if(i=n(1960),r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].success(i);o=!1,r=null}.bind(undefined,n)).catch((function(){if(r&&r.length)for(var e=0,t=r.length;e<t;e++)r[e]&&r[e].error.apply(this,arguments);o=!0,r=null}))}e.exports=function(e,t){t=t||function(){},i?e(i):(o&&a(),r.push({success:e,error:t}))},a()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initBackpackLogger=void 0;var r=n(2),i=n(972),o=n(630),a=n(109),s=n(15),c=n(1801);t.initBackpackLogger=function(e,t,n){if(Boolean((0,i.getElementByData)("name","adaptiveConstructorAd",e))){var u=(0,o.getElementsByData)(c.DATA_BACKPACK,void 0,e);u&&(0,r.forEach)(u,(function(r){var i,o,u,d=Number(r.getAttribute("data-".concat(c.DATA_BACKPACK)));if(d){var p=r.dataset.blockName;if("button"!==p){var f=parseFloat(window.getComputedStyle(r).marginTop);f=isNaN(f)?0:f;var h=r.offsetHeight+f,v=h-d;if(v>2){var m=l(e);if(!m)return;var g=(null===(i=t.getDesignId)||void 0===i?void 0:i.call(t))||null,_=null===(o=t.getFreeAds().find((function(e){return e.adId===m})))||void 0===o?void 0:o.pCodeInfo,y=null===(u=t.getBannerSize)||void 0===u?void 0:u.call(t,m,!0),b="-";if(y){var C=y.size,O=C.width,E=C.height;b="".concat(O,"X").concat(E)}var A=t.getSettings(),I=A.blockId,S=A.limit,T=A.fontFamily,w=window.location.href,R=window.navigator.userAgent,P={blockId:I,limit:S,designId:g,pcodeInfo:_,size:b,bannerId:m,backpackData:d,elHeight:h,diff:v,blockName:p,url:w,fontFamily:T,isTouchDevice:a.isTouchDevice,userAgent:R};s.logger.traceLog(P,"BACKPACK_LOG",n)}}}}))}};var l=function(e){var t=e.closest("[data-ad-id]");if(t)return t.dataset.adId}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DATA_BACKPACK=void 0,t.DATA_BACKPACK="backpack"},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipClientCode=void 0;var o=n(257),a=n(2),s=n(109),c=n(972),l=n(630),u=n(1480),d=n(1803),p=n(629),f=n(15),h=n(1804),v=n(1805),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this,t=(0,l.getElementsByData)(u.TOOLTIP_DATA_ATTR,void 0,this.props.container);(null==t?void 0:t.length)&&(0,a.forEach)(t,(function(t){s.isTouchDevice?e.addEventListener(t,"click",e.handleAction(e.props.container)):e.addEventListener(t,"mouseenter",e.handleAction(e.props.container))}))},t.prototype.handleAction=function(e){var t=this;return function(n){n.preventDefault(),n.stopPropagation();var r=n.currentTarget;if(r){var i=r.dataset[(0,v.kebabCaseToCamelCase)(u.TOOLTIP_TARGET_ID)];if(i){var a=parseInt(r.dataset[(0,v.kebabCaseToCamelCase)(u.TOOLTIP_MARGIN_ATTR)]||"",10);isNaN(a)&&(a=h.DEFAULT_BLOCK_HORIZONTAL_INDENT);var l=(0,o.getElementById)(i,e);if(l){var p=(0,c.getElementByData)(u.TOOLTIP_ARROW_DATA_ATTR,void 0,l);if(p){var m=function t(){l.dataset.show="false",s.isTouchDevice||(l.removeEventListener("mouseleave",t),e.removeEventListener("mouseleave",t)),window.removeEventListener("click",t)};if("true"!==l.dataset.show){var g=(0,d.getContainerMaxWidth)(e,a),_=Math.sqrt(2*Math.pow(u.TOOLTIP_ARROW_BORDER_SIZE,2))/2,y=(0,d.getRelativeParentOffsets)(r),b=(0,d.getTooltipWidth)(e,a);if(b>g)return void f.logger.error("TooltipWidth (".concat(b,") > containerMaxWidth (").concat(g,")"),"constructor tooltip error");var C=(0,d.getTooltipLeftOffset)(r,e,y,a),O=y.top-_-u.TOOLTIP_ARROW_DEFAULT_OFFSET,E=y.left-C+r.offsetWidth/2-_;l.style.bottom="calc(100% - ".concat(O,"px)"),l.style.width="".concat(b,"px"),l.style.left="".concat(C,"px"),p.style.left="".concat(E,"px"),p.style.bottom="-".concat(_,"px"),l.dataset.show="true",t.addEventListener(l,"mouseleave",m),t.addEventListener(e,"mouseleave",m),t.addEventListener(window,"click",m)}else m()}}}}}},t}(p.Destroyable);t.TooltipClientCode=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTooltipLeftOffset=t.getTooltipWidth=t.getContainerMaxWidth=t.getParentOffsets=t.getRelativeParentOffsets=void 0;var r=n(1480);t.getRelativeParentOffsets=function(e){for(var t=e,n=0,r=0;t&&"relative"!==window.getComputedStyle(t).position;)n+=t.offsetTop,r+=e.offsetLeft,t=t.offsetParent;return{parent:t,top:n,left:r}};t.getParentOffsets=function(e,t){for(var n=0,r=0;e&&e!==t;)n+=e.offsetTop,r+=e.offsetLeft,e=e.offsetParent;return{top:n,left:r}};t.getContainerMaxWidth=function(e,t){return e.offsetWidth-2*t};t.getTooltipWidth=function(e,n){var i=(0,t.getContainerMaxWidth)(e,n),o=r.TOOLTIP_MAX_WIDTH-2*n,a=r.TOOLTIP_MIN_WIDTH-2*n;return Math.max(Math.min(i,o),a)};t.getTooltipLeftOffset=function(e,n,r,i){var o,a=(0,t.getParentOffsets)(r.parent,n),s=(0,t.getContainerMaxWidth)(n,i),c=(0,t.getTooltipWidth)(n,i),l=a.left+r.left+e.offsetWidth/2;return c===s?i:l>s/2?(o=s-l-c/2)>0?l-a.left-c/2:l-a.left-c/2+o:(o=l-c/2)>0?l-a.left-c/2:l-a.left-c/2-o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FULLSCREEN_BLOCK_HORIZONTAL_INDENT=t.DEFAULT_BLOCK_HORIZONTAL_INDENT=t.HORIZONTAL_BANNER_DEFAULT_IMAGE_WIDTH_PORTION=t.HORIZONTAL_BANNER_IMAGE_WIDTH_PORTION_LIMITS=t.BORDER_WIDTH=t.ADV_SPACING=t.DEFAULT_LIMIT=t.DEFAULT_VERTICAL_BANNER_RATIO=t.DEFAULT_HORIZONTAL_BANNER_RATIO=t.VERTICAL_SIZE_LIMITS=t.NEW_ROW_SIZE_LIMITS=t.HORIZONTAL_SIZE_LIMITS=t.POSTER_SIZE_LIMITS=t.VERTICAL_DEFAULT_HEIGHT=t.ADAPTIVE_SIZE_LIMITS=void 0,t.ADAPTIVE_SIZE_LIMITS={width:{min:150,max:1/0},height:{min:50,max:1/0}},t.VERTICAL_DEFAULT_HEIGHT=400,t.POSTER_SIZE_LIMITS={width:{min:155,max:1/0},height:{min:190,max:1/0}},t.HORIZONTAL_SIZE_LIMITS={width:{min:250,max:1/0},height:{min:100,max:1/0}},t.NEW_ROW_SIZE_LIMITS={width:{min:200,max:1/0},height:{min:50,max:160}},t.VERTICAL_SIZE_LIMITS={width:{min:150,max:1/0},height:{min:200,max:1/0}},t.DEFAULT_HORIZONTAL_BANNER_RATIO=1.7,t.DEFAULT_VERTICAL_BANNER_RATIO=.5,t.DEFAULT_LIMIT=1,t.ADV_SPACING=5,t.BORDER_WIDTH=1,t.HORIZONTAL_BANNER_IMAGE_WIDTH_PORTION_LIMITS={min:.1,max:.55},t.HORIZONTAL_BANNER_DEFAULT_IMAGE_WIDTH_PORTION=.5,t.DEFAULT_BLOCK_HORIZONTAL_INDENT=10,t.FULLSCREEN_BLOCK_HORIZONTAL_INDENT=20},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.kebabCaseToCamelCase=void 0;t.kebabCaseToCamelCase=function(e){return e.split("-").map((function(e,t){if(0===t)return e;var n=e.split("");return n.splice(0,1,n[0].toUpperCase()),n.join("")})).join("")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLinkTag=void 0;t.isLinkTag=function(e){return"a"===e.tagName.toLowerCase()}},function(e,t,n){"use strict";var r,i,o=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.PartialContainerController=void 0;var a=n(629),s=n(1483),c=n(1484),l=n(1808),u=n(1809),d=n(1092),p=n(1485),f=n(15),h=n(1486),v=((i={})[c.CAROUSEL_CONTAINER_NAME]=n(1810),i[l.SMART_TILE_CONTAINER_NAME]=n(1812),i[u.SMART_MOSAIC_CONTAINER_NAME]=n(1814),i[h.FULLSCREEN_GRID_CONTAINER_NAME]=n(1816),i[p.ZEN2_ARTICLE_BODY_PARTIAL_CONTAINER_TYPE]=n(1819),i[s.ZEN2_CAROUSEL_PARTIAL_CONTAINER_TYPE]=n(1825),i),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.init=function(){var t=this;e.prototype.init.call(this);var n=this.props,r=n.container,i=n.salt,o=n.nonce,a=n.onPageShown,s=n.getDataSource,c=r.dataset.containerType,l=void 0===c?"":c,u=v[l];l&&u&&u((function(e){var n=e.Controller;t.addResource("childController",new n({container:r,salt:i,nonce:o,onPageShown:a,getDataSource:s,onClose:function(){return s().abuseAd(d.PREVENTS_BROWSING_ID)}}))}),(function(e){f.logger.error(e,"bundle loading error")}))},t.prototype.getVisibleItems=function(){var e=this.getResource("childController");return e?e.getVisibleItems():null},t}(a.Destroyable);t.PartialContainerController=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SMART_TILE_CONTAINER_NAME=void 0,t.SMART_TILE_CONTAINER_NAME="smart-tile-container"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SMART_MOSAIC_CONTAINER_NAME=void 0,t.SMART_MOSAIC_CONTAINER_NAME="smart-mosaic-container"},function(e,t,n){var r=n(1811);e.exports=function(e){e(r)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Controller=t.CarouselContainerController=void 0;var o=n(629),a=n(2),s=n(44),c=n(90),l=n(1143),u=n(1343),d=n(1214),p=n(972),f=n(1484),h=n(0),v=n(22),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var e=this,t=this.props.container,n=(0,p.getElementByData)("name",f.CAROUSEL_CONTAINER_NAME,t);this.isPosterCarousel=Boolean((0,p.getElementByData)("name","adaptiveConstructorAd",t)||(0,p.getElementByData)("name","poster",t)),this.isCarouselExp=(0,h.useExperimentFlag)("CAROUSEL_ON_CONSTRUCTOR"),n&&(this.controller=new u.CarouselController({dragMoveMultiplier:2,container:n,orientation:d.CarouselOrientation.HORIZONTAL,allowedMouseScroll:!0,allowedPreciseScroll:!0,onPageShown:function(t){return e.props.onPageShown({offset:t,limit:1})},onScroll:function(t){return e.handleScroll(t)}}),this.controller.updateCurrent(),this.initClickHandlers(),this.addResource("controller",this.controller))},t.prototype.initClickHandlers=function(){var e=this;(0,a.forEach)(this.controller.slideElements,(function(t){e.addEventListener(t,"click",e.onClickSlide)}))},t.prototype.handleScroll=function(e){this.updateArrows(e)},t.prototype.updateArrows=function(e){var t=this.controller,n=t.trackElement,r=t.nextButtonElement,i=t.prevButtonElement;if(i&&r){var o=n.clientWidth,a=n.scrollWidth-o,s=.3*o,u=1-g(0,s,e),d=g(a-s,a,e);l.vsync.mutate((function(){(0,c.setStyle)(i,{transform:"translateX(".concat(-45*u,"px)"),opacity:1-u}),(0,c.setStyle)(r,{transform:"translateX(".concat(45*d,"px)"),opacity:1-d})}))}},t.prototype.onClickSlide=function(e){if(this.controller.performedScrollWithMouse)e.preventDefault();else{var t=e.currentTarget,n=(0,s.indexOf)(this.controller.slideElements,t);this.controller.getCurrentIndex()!==n&&(this.controller.scrollTo(n),e.preventDefault()),this.isCarouselExp&&this.isPosterCarousel&&(0,v.traceLog)({scrollFrom:this.controller.getCurrentIndex(),scrollTo:n,action:"SIDE CLICK",exp:this.isCarouselExp},"CAROUSEL CONSTRUCTOR SCROLL LOG",5)}},t.prototype.getVisibleItems=function(){return{offset:this.controller.getCurrentIndex(),limit:1}},t}(o.Destroyable);function g(e,t,n){var r=t-e;return(function(e,t,n){return Math.max(e,Math.min(t,n))}(e,t,n)-e)/r}t.CarouselContainerController=m,t.Controller=m},function(e,t,n){var r=n(1813);e.exports=function(e){e(r)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Controller=t.SmartTileBlockController=void 0;var o=n(12),a=n(1290),s=n(630),c=n(1447),l=n(972),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){e.prototype.init.call(this);var t=this.props.container;this.addResource("bannerLayoutController",new a.BannerLayoutController({container:t})),this.initCarouselController()},t.prototype.initCarouselController=function(){var e=this,t=this.props,n=t.container,r=t.onPageShown,i=(0,l.getElementByData)("name","offers-carousel",n);if(i){this.chunks=(0,o.map)((0,s.getElementsByData)("name","carousel-slide",n)||[],(function(e){return((0,s.getElementsByData)("name","offer-tile",e)||[]).length}));var a=new c.OffersCarouselController({container:i,onChangePage:function(t){return r(e.getPageInfo(t))}});this.addResource("carouselController",a)}},t.prototype.getPageInfo=function(e){var t=this.chunks[e];return{offset:this.chunks.slice(0,e).reduce((function(e,t){return e+t}),0),limit:t}},t.prototype.getVisibleItems=function(){var e,t=this.getResource("carouselController"),n=null!==(e=null==t?void 0:t.getCurrentIndex())&&void 0!==e?e:0;return this.getPageInfo(n)},t}(n(1487).SmartBannerController);t.SmartTileBlockController=u,t.Controller=u},function(e,t,n){var r=n(1815);e.exports=function(e){e(r)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Controller=t.SmartMosaicBlockController=void 0;var o=n(2),a=n(669),s=n(630),c=n(1290),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var t=this;e.prototype.init.call(this);var n=this.props.container,r=void 0!==window.ontouchstart;this.addResource("bannerLayoutController",new c.BannerLayoutController({container:n})),this.offerElements=(0,s.getElementsByData)("name","offer",n)||[],this.indicatorElements=(0,s.getElementsByData)("name","indicator",n)||[],this.activeIndex=(0,a.findIndex)(this.offerElements,(function(e){return e.hasAttribute("data-active")})),(0,o.forEach)(this.indicatorElements,(function(e,n){n===t.activeIndex&&e.setAttribute("data-active",""),t.addEventListener(e,r?"click":"mouseenter",(function(){return t.setActiveOffer(n)}))}))},t.prototype.setActiveOffer=function(e){var t,n,r,i;if(this.activeIndex!==e){var o=this.activeIndex;null===(t=this.indicatorElements[o])||void 0===t||t.removeAttribute("data-active"),null===(n=this.indicatorElements[e])||void 0===n||n.setAttribute("data-active",""),null===(r=this.offerElements[o])||void 0===r||r.removeAttribute("data-active"),null===(i=this.offerElements[e])||void 0===i||i.setAttribute("data-active",""),this.activeIndex=e}},t.prototype.getPageInfo=function(){return{offset:0,limit:this.offerElements.length}},t.prototype.getVisibleItems=function(){return this.getPageInfo()},t}(n(1487).SmartBannerController);t.SmartMosaicBlockController=l,t.Controller=l},function(e,t,n){var r=n(1817);e.exports=function(e){e(r)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Controller=void 0;var o=n(629),a=n(12),s=n(2),c=n(643),l=n(498),u=n(1818),d=n(972),p=n(630),f=n(1486),h=n(1146),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){var t=this;e.prototype.init.call(this);var n=this.props.container,r=n.dataset.orientation,i=void 0===r?f.FullscreenOrientation.PORTRAIT:r;this.isPortrait=i===f.FullscreenOrientation.PORTRAIT,this.listElement=(0,d.getElementByData)("name",f.FULLSCREEN_GRID_SCROLLABLE_NAME,n),this.resizerElement=(0,d.getElementByData)("name",f.FULLSCREEN_GRID_RESIZER_NAME,n),this.offers=(0,a.map)((0,p.getElementsByData)("name",f.FULLSCREEN_GRID_ITEM_NAME,n)||[],(function(e){return{element:e,index:Number(e.dataset.offerIndex),offerSize:t.isPortrait?e.offsetHeight:e.offsetWidth,offerOffset:t.isPortrait?e.offsetTop:e.offsetLeft}})),this.addEventListener(window,"resize",(function(){return t.onResize()}),{passive:!0}),(0,s.forEach)(this.offers,(function(e){(0,h.adaptImageToContainer)(e.element),(0,h.initAdaptiveImageClientCode)(e.element,e.element.id,{enableAnimation:!1}),t.doOnDestroy((function(){return(0,h.destroyAdaptiveImageClientCode)(n,e.element.id)}))})),this.listElement&&(this.addEventListener(this.listElement,"scroll",(0,c.throttle)((function(){return t.onScroll()}),250),{passive:!0}),this.doOnDestroy((0,u.disableOverflowChaining)(this.listElement))),this.onResize()},t.prototype.onResize=function(){this.resizerElement&&(this.props.container.style.setProperty("height","".concat(this.resizerElement.clientHeight,"px")),this.recalculateOffers())},t.prototype.recalculateOffers=function(){var e=this;(0,s.forEach)(this.offers,(function(t){t.offerSize=e.isPortrait?t.element.offsetHeight:t.element.offsetWidth,t.offerOffset=e.isPortrait?t.element.offsetTop:t.element.offsetLeft}))},t.prototype.onScroll=function(){var e=this.listElement.scrollTop;(0,l.setAttributes)(this.props.container,{"data-scrolled":e>25?"":null}),this.props.onPageShown(this.getVisibleItems())},t.prototype.getVisibleItems=function(){var e=this.props.container.dataset.orientation,t=(void 0===e?f.FullscreenOrientation.PORTRAIT:e)===f.FullscreenOrientation.PORTRAIT,n=[],r=t?this.listElement.scrollTop:this.listElement.scrollLeft,i=t?this.listElement.clientHeight:this.listElement.clientWidth;return(0,s.forEach)(this.offers,(function(e){var t=e.index,o=e.offerOffset,a=e.offerSize,s=Math.max(o,r);(Math.min(o+a,r+i)-s)/a>=.5&&!isNaN(t)&&n.push(t)})),[{limit:n.length,offset:Math.min.apply(Math,n)}]},t}(o.Destroyable);t.Controller=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.disableOverflowChaining=void 0;var r=(0,n(185).getIsIOS)();t.disableOverflowChaining=function(e){if(!r)return n(4).noop;var t,i=(0,n(470).addEventListener)(e,"touchstart",(function(e){1===e.targetTouches.length&&(t={x:e.targetTouches[0].clientX,y:e.targetTouches[0].clientY})}),{passive:!1}),o=(0,n(470).addEventListener)(e,"touchmove",(function(n){var r,i,o=n.targetTouches[0].clientY-t.y,a=n.targetTouches[0].clientX-t.x;t={x:t.x+a,y:t.y+o},Math.abs(a)>Math.abs(o)||(0===e.scrollTop&&o>0&&(null===(r=n.preventDefault)||void 0===r||r.call(n)),e.scrollHeight-e.scrollTop<=e.clientHeight&&o<0&&(null===(i=n.preventDefault)||void 0===i||i.call(n)))}),{passive:!1});return function(){o(),i()}}},function(e,t,n){var r=n(1820);e.exports=function(e){e(r)}},function(e,t,n){"use strict";var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.Controller=t.ContainerController=void 0;var o=n(2),a=n(240),s=n(34),c=n(643),l=n(628),u=n(1157),d=n(1488),p=n(1823),f=n(1824),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.initSizeSensor(),this.initLegalIngo()},t.prototype.getElements=function(){var e=this.props.container;return this.elements||(this.elements=(0,p.getContainerElement)(e)),this.elements},t.prototype.initLegalIngo=function(){var e=this.props.salt,t=this.getElements(),n=t.listWrapper,r=t.legalInfoButtons;n&&r&&0!==r.length&&(this.sharedContextMenuController=new d.SharedContextMenuController({buttons:r,container:n,salt:e,getAbuseUrl:function(e){return e.getAttribute("data-abuse-url")||""},getContextMenuContent:function(e){return e.getAttribute("data-context-menu")||""}}),this.addResource("legalInfoContextMenu",this.sharedContextMenuController))},t.prototype.initSizeSensor=function(){this.sizeSensor=new l.RafSizeSensor(this.props.container);var e=(0,c.throttle)(this.checkSizes,1e3,this);this.sizeSensor.addResizeHandler((function(t,n){e(),n()})),e()},t.prototype.checkSizes=function(){var e=this,t=this.props.container,n=this.getElements().listItems;if(t&&n){var r=this.getBlockWidth(t),i=0;(0,o.forEach)(n,(function(t){(i+=Math.floor(e.getBlockWidth(t)))>r&&e.hideElement(t)}))}},t.prototype.hideElement=function(e){var t=this.props.salt;e.classList.add(f("hide",t))},t.prototype.isHiddenElement=function(e){var t=this.props.salt;return e.classList.contains(f("hide",t))},t.prototype.getBlockWidth=function(e){var t=(0,a.getStyle)(e),n=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return(0,s.getBoundingClientRect)(e).width+n},t.prototype.getVisibleItems=function(){var e=this,t=this.getElements().listItems,n=0;return t&&(0,o.forEach)(t,(function(t){e.isHiddenElement(t)||(n+=1)})),{offset:0,limit:n}},t.prototype.getContainer=function(){return this.props.container},t.prototype.getAlias=function(e){return f(e,this.props.salt)},t.prototype.destroy=function(){var t;null===(t=this.sizeSensor)||void 0===t||t.destroy(),e.prototype.destroy.call(this)},t}(u.AbstractZen2BannerController);t.ContainerController=h,t.Controller=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sharedContextMenuDataNames=void 0,t.sharedContextMenuDataNames={sharedContextMenu:"zen2-shared-context-menu",sharedContextMenuContent:"zen2-shared-context-menu-content"}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("l94058eb",e),t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContainerElement=void 0;var r=n(972),i=n(630),o=n(1363),a=n(1485);t.getContainerElement=function(e){return{list:(0,r.getElementByData)("name",a.articleBodyContainerElements.list,e),listItems:(0,i.getElementsByData)("name",a.articleBodyContainerElements.listItem,e),listWrapper:(0,r.getElementByData)("name",a.articleBodyContainerElements.listWrapper,e),adText:(0,r.getElementByData)("name",a.articleBodyContainerElements.adText,e),legalInfoButtons:(0,i.getElementsByData)("name",o.legalInfoElements.legalInfoButton,e)}}},function(e,t,n){var r=n(529);e.exports=function(e,t){return r.getAlias(r.getClassName("j919734b",e),t)}},function(e,t,n){e.exports=n(1826)},function(e,t,n){e.exports=function(e,t){n.e(0).then(function(){e(n(1970))}.bind(undefined,n)).catch((function(){t&&t.apply(this,arguments)}))}}])]);